Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_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.001152/0.001153, allocations: 181.1 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009364/0.0009364, allocations: 82.64 kB / 261.7 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2325/0.2325, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.685e-05/1.68e-05, allocations: 0 / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1424, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.497/1.639, allocations: 496.9 MB / 0.9513 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/1.64, allocations: 79.23 kB / 0.9514 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1215/1.761, allocations: 56.54 MB / 1.007 GB, free: 80.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.243e-06/1.761, allocations: 0 / 1.007 GB, free: 80.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.752e-05/1.761, allocations: 4 kB / 1.007 GB, free: 80.61 MB / 0.4948 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.001659/1.763, allocations: 0.6825 MB / 1.007 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.763, allocations: 8.031 kB / 1.007 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006977/1.77, allocations: 0.6009 MB / 1.008 GB, free: 79.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/1.771, allocations: 262.6 kB / 1.008 GB, free: 78.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/1.771, allocations: 115.4 kB / 1.008 GB, free: 78.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/1.771, allocations: 12 kB / 1.008 GB, free: 78.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001014/1.772, allocations: 0.5397 MB / 1.009 GB, free: 78.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/1.772, allocations: 312.2 kB / 1.009 GB, free: 77.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/1.772, allocations: 0 / 1.009 GB, free: 77.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/1.772, allocations: 0 / 1.009 GB, free: 77.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/1.772, allocations: 15.97 kB / 1.009 GB, free: 77.93 MB / 0.4948 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/1.775, allocations: 2.545 MB / 1.012 GB, free: 75.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008943/1.776, allocations: 126.4 kB / 1.012 GB, free: 74.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.093e-05/1.776, allocations: 37 kB / 1.012 GB, free: 74.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/1.776, allocations: 20.77 kB / 1.012 GB, free: 74.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/1.776, allocations: 34.56 kB / 1.012 GB, free: 74.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/1.776, allocations: 0 / 1.012 GB, free: 74.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.003061/1.779, allocations: 0.5036 MB / 1.012 GB, free: 74.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/1.779, allocations: 51.41 kB / 1.012 GB, free: 74.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/1.78, allocations: 193.8 kB / 1.012 GB, free: 74.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/1.78, allocations: 25.7 kB / 1.012 GB, free: 74.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/1.78, allocations: 214.7 kB / 1.013 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/1.78, allocations: 39.44 kB / 1.013 GB, free: 73.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/1.78, allocations: 0 / 1.013 GB, free: 73.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.975e-05/1.78, allocations: 330.8 kB / 1.013 GB, free: 73.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.391e-05/1.78, allocations: 60.86 kB / 1.013 GB, free: 73.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/1.78, allocations: 254 kB / 1.013 GB, free: 73.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/1.781, allocations: 286.8 kB / 1.014 GB, free: 72.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.781, allocations: 4 kB / 1.014 GB, free: 72.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001324/1.782, allocations: 0.5084 MB / 1.014 GB, free: 72.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.782, allocations: 8 kB / 1.014 GB, free: 72.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/1.783, allocations: 8 kB / 1.014 GB, free: 72.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/1.783, allocations: 12.81 kB / 1.014 GB, free: 72.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/1.783, allocations: 159.8 kB / 1.014 GB, free: 72.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002546/1.783, allocations: 0.6094 MB / 1.015 GB, free: 71.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/1.784, allocations: 11.94 kB / 1.015 GB, free: 71.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/1.784, allocations: 55.98 kB / 1.015 GB, free: 71.37 MB / 0.4948 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 (47): * Single equations (assignments): 46 * 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.0001095/1.784, allocations: 120.8 kB / 1.015 GB, free: 71.24 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002447/1.784, allocations: 145.5 kB / 1.015 GB, free: 71.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/1.784, allocations: 19.95 kB / 1.015 GB, free: 71.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/1.785, allocations: 256.7 kB / 1.015 GB, free: 70.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.785, allocations: 0 / 1.015 GB, free: 70.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.785, allocations: 0 / 1.015 GB, free: 70.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.785, allocations: 0 / 1.015 GB, free: 70.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/1.785, allocations: 452.7 kB / 1.016 GB, free: 70.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.785, allocations: 11.98 kB / 1.016 GB, free: 70.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/1.786, allocations: 75.89 kB / 1.016 GB, free: 70.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/1.786, allocations: 0 / 1.016 GB, free: 70.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/1.786, allocations: 11.98 kB / 1.016 GB, free: 70.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001881/1.786, allocations: 0.586 MB / 1.017 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.786, allocations: 0 / 1.017 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/1.786, allocations: 288.6 kB / 1.017 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-05/1.786, allocations: 116.8 kB / 1.017 GB, free: 69.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/1.786, allocations: 0 / 1.017 GB, free: 69.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/1.786, allocations: 11.98 kB / 1.017 GB, free: 69.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/1.786, allocations: 23.94 kB / 1.017 GB, free: 69.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/1.786, allocations: 23.98 kB / 1.017 GB, free: 69.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.232e-05/1.787, allocations: 140.4 kB / 1.017 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.787, allocations: 0 / 1.017 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001008/1.788, allocations: 263.8 kB / 1.017 GB, free: 68.71 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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.002108/1.79, allocations: 1.695 MB / 1.019 GB, free: 66.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004856/1.79, allocations: 209.1 kB / 1.019 GB, free: 66.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.79, allocations: 4 kB / 1.019 GB, free: 66.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/1.79, allocations: 71.91 kB / 1.019 GB, free: 66.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/1.791, allocations: 27.97 kB / 1.019 GB, free: 66.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06252/1.853, allocations: 30.1 MB / 1.049 GB, free: 36.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/1.853, allocations: 0.7326 MB / 1.049 GB, free: 35.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007068/1.854, allocations: 149.8 kB / 1.05 GB, free: 35.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/1.854, allocations: 103.4 kB / 1.05 GB, free: 35.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.283e-06/1.854, allocations: 4 kB / 1.05 GB, free: 35.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/1.889, allocations: 12.11 MB / 1.062 GB, free: 23.28 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/1.889, allocations: 162.6 kB / 1.062 GB, free: 23.08 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/3.953, allocations: 3.938 kB / 1.062 GB, free: 23.08 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat