Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009546/0.0009546, allocations: 97.14 kB / 281.6 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2135/0.2135, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.683e-05/1.686e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 61.91 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.671/1.816, allocations: 0.5445 GB / 1.039 GB, free: 45.92 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.816, allocations: 82.62 kB / 1.039 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.577/2.393, allocations: 105.8 MB / 1.143 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.043e-06/2.393, allocations: 0 / 1.143 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.755e-05/2.393, allocations: 4 kB / 1.143 GB, free: 149.9 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003504/2.397, allocations: 1.025 MB / 1.144 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/2.397, allocations: 11.98 kB / 1.144 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005344/2.397, allocations: 75.66 kB / 1.144 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/2.397, allocations: 250.7 kB / 1.144 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/2.397, allocations: 11.47 kB / 1.144 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/2.398, allocations: 19.95 kB / 1.144 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006088/2.398, allocations: 0.5827 MB / 1.145 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/2.399, allocations: 348.5 kB / 1.145 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/2.399, allocations: 7.938 kB / 1.145 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/2.399, allocations: 0 / 1.145 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/2.399, allocations: 8 kB / 1.145 GB, free: 147.4 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.04327/2.442, allocations: 27.75 MB / 1.172 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/2.442, allocations: 78.53 kB / 1.172 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/2.442, allocations: 28.86 kB / 1.172 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01434/2.456, allocations: 6.458 MB / 1.178 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/2.457, allocations: 87.31 kB / 1.179 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 3.136e-06/2.457, allocations: 0 / 1.179 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.001896/2.459, allocations: 418.1 kB / 1.179 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/2.459, allocations: 55.36 kB / 1.179 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/2.459, allocations: 192.4 kB / 1.179 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/2.459, allocations: 29.92 kB / 1.179 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.543e-05/2.459, allocations: 238.5 kB / 1.179 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/2.459, allocations: 55.31 kB / 1.18 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/2.459, allocations: 0 / 1.18 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.738e-05/2.459, allocations: 326.8 kB / 1.18 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/2.459, allocations: 57.11 kB / 1.18 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/2.459, allocations: 322.2 kB / 1.18 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008824/2.46, allocations: 200.4 kB / 1.18 GB, free: 108 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/2.46, allocations: 4 kB / 1.18 GB, free: 108 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00115/2.461, allocations: 463.4 kB / 1.181 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/2.462, allocations: 12.06 kB / 1.181 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/2.462, allocations: 8 kB / 1.181 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/2.462, allocations: 53.64 kB / 1.181 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/2.462, allocations: 99.83 kB / 1.181 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007345/2.463, allocations: 1.266 MB / 1.182 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/2.463, allocations: 12 kB / 1.182 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/2.463, allocations: 31.98 kB / 1.182 GB, free: 106 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001626/2.463, allocations: 126.6 kB / 1.182 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005172/2.464, allocations: 195.2 kB / 1.183 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/2.464, allocations: 31.64 kB / 1.183 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006329/2.464, allocations: 388.8 kB / 1.183 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/2.464, allocations: 7.984 kB / 1.183 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/2.464, allocations: 4 kB / 1.183 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/2.464, allocations: 0 / 1.183 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/2.465, allocations: 325.8 kB / 1.183 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/2.465, allocations: 0 / 1.183 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/2.465, allocations: 15.94 kB / 1.183 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.205e-05/2.465, allocations: 57.69 kB / 1.183 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/2.465, allocations: 4 kB / 1.183 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006057/2.466, allocations: 1.297 MB / 1.185 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/2.466, allocations: 3.984 kB / 1.185 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/2.466, allocations: 322.5 kB / 1.185 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/2.466, allocations: 116.9 kB / 1.185 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.452e-05/2.466, allocations: 7.938 kB / 1.185 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/2.466, allocations: 8 kB / 1.185 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/2.466, allocations: 11.98 kB / 1.185 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/2.466, allocations: 4 kB / 1.185 GB, free: 103 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001232/2.467, allocations: 162 kB / 1.185 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/2.467, allocations: 3.938 kB / 1.185 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001931/2.469, allocations: 375.6 kB / 1.186 GB, free: 102.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00249/2.471, allocations: 1.488 MB / 1.187 GB, free: 101 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004842/2.472, allocations: 283.3 kB / 1.187 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/2.472, allocations: 0 / 1.187 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/2.472, allocations: 154.1 kB / 1.187 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/2.472, allocations: 36.42 kB / 1.188 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1118/2.584, allocations: 74.47 MB / 1.26 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/2.584, allocations: 0.7529 MB / 1.261 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004244/2.585, allocations: 198.8 kB / 1.261 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/2.585, allocations: 83.41 kB / 1.261 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/2.585, allocations: 4 kB / 1.261 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03772/2.622, allocations: 12.92 MB / 1.274 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/2.623, allocations: 171.7 kB / 1.274 GB, free: 13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/5.235, allocations: 3.938 kB / 1.274 GB, free: 13 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat