Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002331/0.002331, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2889/0.2889, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.089e-05/4.107e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1286, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.744/1.872, allocations: 497.6 MB / 0.9588 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/1.873, allocations: 75.81 kB / 0.9589 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2237/2.096, allocations: 57.27 MB / 1.015 GB, free: 96.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.964e-06/2.097, allocations: 0 / 1.015 GB, free: 96.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.481e-05/2.097, allocations: 4 kB / 1.015 GB, free: 96.45 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001969/2.099, allocations: 0.6903 MB / 1.015 GB, free: 95.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/2.099, allocations: 12.03 kB / 1.015 GB, free: 95.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.743e-05/2.099, allocations: 58.53 kB / 1.016 GB, free: 95.63 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/2.111, allocations: 0.6009 MB / 1.016 GB, free: 95.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000605/2.112, allocations: 254.7 kB / 1.016 GB, free: 94.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/2.112, allocations: 123.4 kB / 1.016 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/2.112, allocations: 16 kB / 1.017 GB, free: 94.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/2.113, allocations: 0.5283 MB / 1.017 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/2.113, allocations: 3.938 kB / 1.017 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/2.114, allocations: 15.98 kB / 1.017 GB, free: 94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/2.114, allocations: 8 kB / 1.017 GB, free: 93.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/2.115, allocations: 0.5675 MB / 1.018 GB, free: 93.42 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/2.118, allocations: 1.62 MB / 1.019 GB, free: 91.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/2.118, allocations: 151.4 kB / 1.019 GB, free: 91.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/2.119, allocations: 79.47 kB / 1.019 GB, free: 91.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/2.12, allocations: 1.215 MB / 1.021 GB, free: 90.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/2.12, allocations: 30.56 kB / 1.021 GB, free: 89.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 2.685e-06/2.12, allocations: 0 / 1.021 GB, free: 89.97 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=20): time 0.001221/2.121, allocations: 281.4 kB / 1.021 GB, free: 89.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/2.121, allocations: 59.36 kB / 1.021 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/2.121, allocations: 165.1 kB / 1.021 GB, free: 89.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/2.122, allocations: 29.7 kB / 1.021 GB, free: 89.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/2.122, allocations: 261.8 kB / 1.021 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/2.122, allocations: 67.02 kB / 1.021 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/2.122, allocations: 8 kB / 1.021 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.259e-05/2.122, allocations: 326.8 kB / 1.022 GB, free: 88.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/2.122, allocations: 56.75 kB / 1.022 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/2.122, allocations: 271.8 kB / 1.022 GB, free: 88.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/2.123, allocations: 93.44 kB / 1.022 GB, free: 88.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/2.123, allocations: 0 / 1.022 GB, free: 88.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007817/2.123, allocations: 357.4 kB / 1.023 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/2.123, allocations: 8 kB / 1.023 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/2.123, allocations: 11.94 kB / 1.023 GB, free: 87.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/2.123, allocations: 12 kB / 1.023 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/2.124, allocations: 115.9 kB / 1.023 GB, free: 87.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003308/2.125, allocations: 0.6134 MB / 1.023 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/2.125, allocations: 43.75 kB / 1.023 GB, free: 87.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/2.125, allocations: 39.98 kB / 1.023 GB, free: 87.03 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001441/2.125, allocations: 132.7 kB / 1.023 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/2.125, allocations: 19.81 kB / 1.023 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/2.126, allocations: 319.1 kB / 1.024 GB, free: 86.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/2.126, allocations: 4 kB / 1.024 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/2.126, allocations: 4 kB / 1.024 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/2.126, allocations: 0 / 1.024 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009016/2.127, allocations: 0.5334 MB / 1.024 GB, free: 85.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/2.127, allocations: 0 / 1.024 GB, free: 85.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/2.128, allocations: 72.05 kB / 1.024 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/2.128, allocations: 4 kB / 1.024 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/2.128, allocations: 11.94 kB / 1.024 GB, free: 85.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002855/2.128, allocations: 0.5938 MB / 1.025 GB, free: 85.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/2.128, allocations: 4.031 kB / 1.025 GB, free: 85.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/2.129, allocations: 348.3 kB / 1.025 GB, free: 84.83 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/2.129, allocations: 116.8 kB / 1.025 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/2.129, allocations: 0 / 1.025 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/2.129, allocations: 15.98 kB / 1.025 GB, free: 84.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/2.129, allocations: 19.88 kB / 1.025 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/2.129, allocations: 23.98 kB / 1.025 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001275/2.13, allocations: 127.1 kB / 1.026 GB, free: 84.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.773e-06/2.13, allocations: 0 / 1.026 GB, free: 84.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001285/2.131, allocations: 263.6 kB / 1.026 GB, free: 84.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002547/2.133, allocations: 1.867 MB / 1.028 GB, free: 82.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000776/2.134, allocations: 204.4 kB / 1.028 GB, free: 82.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/2.134, allocations: 0 / 1.028 GB, free: 82.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/2.135, allocations: 75.91 kB / 1.028 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/2.135, allocations: 53.84 kB / 1.028 GB, free: 82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.115/2.25, allocations: 30.56 MB / 1.058 GB, free: 51.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/2.251, allocations: 0.7287 MB / 1.059 GB, free: 50.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/2.251, allocations: 91.38 kB / 1.059 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/2.251, allocations: 0 / 1.059 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.876/5.127, allocations: 9.161 MB / 1.068 GB, free: 41.23 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat