Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 180.2 kB / 8.007 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.911/1.911, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001039/0.00104, allocations: 90.62 kB / 261.8 MB, free: 1.68 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.2563/0.2563, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.248e-05/2.238e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1421, allocations: 58.85 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.176/2.318, allocations: 0.645 GB / 1.111 GB, free: 182.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/2.318, allocations: 88.61 kB / 1.111 GB, free: 182.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1968/2.515, allocations: 108.7 MB / 1.217 GB, free: 85.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.194e-06/2.515, allocations: 0 / 1.217 GB, free: 85.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.885e-05/2.515, allocations: 4 kB / 1.217 GB, free: 85.7 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00317/2.519, allocations: 1.052 MB / 1.218 GB, free: 84.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/2.519, allocations: 8.031 kB / 1.218 GB, free: 84.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005346/2.519, allocations: 75.66 kB / 1.218 GB, free: 84.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/2.519, allocations: 246.7 kB / 1.219 GB, free: 84.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/2.519, allocations: 12 kB / 1.219 GB, free: 84.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/2.52, allocations: 12 kB / 1.219 GB, free: 84.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006003/2.52, allocations: 0.5827 MB / 1.219 GB, free: 83.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/2.521, allocations: 352.5 kB / 1.22 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/2.521, allocations: 0 / 1.22 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/2.521, allocations: 4 kB / 1.22 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/2.521, allocations: 8 kB / 1.22 GB, free: 83.24 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.04321/2.564, allocations: 27.76 MB / 1.247 GB, free: 53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/2.564, allocations: 70.66 kB / 1.247 GB, free: 52.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/2.564, allocations: 32.86 kB / 1.247 GB, free: 52.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01445/2.579, allocations: 6.439 MB / 1.253 GB, free: 45.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/2.579, allocations: 87.53 kB / 1.253 GB, free: 45.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 4.709e-06/2.579, allocations: 0 / 1.253 GB, free: 45.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.001896/2.581, allocations: 422.2 kB / 1.254 GB, free: 45.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.841e-05/2.581, allocations: 51.41 kB / 1.254 GB, free: 45.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/2.581, allocations: 194.9 kB / 1.254 GB, free: 45.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/2.581, allocations: 25.7 kB / 1.254 GB, free: 45.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/2.581, allocations: 238.6 kB / 1.254 GB, free: 44.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/2.581, allocations: 51.3 kB / 1.254 GB, free: 44.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/2.581, allocations: 0 / 1.254 GB, free: 44.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.646e-05/2.581, allocations: 330.8 kB / 1.254 GB, free: 44.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/2.581, allocations: 57.06 kB / 1.254 GB, free: 44.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/2.581, allocations: 326.9 kB / 1.255 GB, free: 43.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008963/2.582, allocations: 199.7 kB / 1.255 GB, free: 43.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/2.582, allocations: 0 / 1.255 GB, free: 43.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001136/2.584, allocations: 463.2 kB / 1.255 GB, free: 43.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/2.584, allocations: 15.44 kB / 1.255 GB, free: 43.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/2.584, allocations: 11.94 kB / 1.255 GB, free: 43.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/2.584, allocations: 49.7 kB / 1.255 GB, free: 43.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/2.584, allocations: 103.8 kB / 1.256 GB, free: 43.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006991/2.585, allocations: 1.266 MB / 1.257 GB, free: 41.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/2.585, allocations: 12 kB / 1.257 GB, free: 41.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/2.585, allocations: 31.98 kB / 1.257 GB, free: 41.8 MB / 0.4948 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.0001553/2.585, allocations: 136.8 kB / 1.257 GB, free: 41.66 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005012/2.586, allocations: 187.2 kB / 1.257 GB, free: 41.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/2.586, allocations: 27.7 kB / 1.257 GB, free: 41.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006175/2.586, allocations: 397.3 kB / 1.258 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/2.586, allocations: 4 kB / 1.258 GB, free: 41.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/2.586, allocations: 0 / 1.258 GB, free: 41.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/2.586, allocations: 3.984 kB / 1.258 GB, free: 41.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/2.587, allocations: 329.7 kB / 1.258 GB, free: 40.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/2.587, allocations: 0 / 1.258 GB, free: 40.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/2.587, allocations: 12 kB / 1.258 GB, free: 40.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.037e-05/2.587, allocations: 53.69 kB / 1.258 GB, free: 40.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/2.587, allocations: 4 kB / 1.258 GB, free: 40.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005554/2.587, allocations: 1.301 MB / 1.259 GB, free: 39.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/2.587, allocations: 0 / 1.259 GB, free: 39.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/2.588, allocations: 332.3 kB / 1.26 GB, free: 38.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/2.588, allocations: 112.7 kB / 1.26 GB, free: 38.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/2.588, allocations: 0 / 1.26 GB, free: 38.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/2.588, allocations: 11.98 kB / 1.26 GB, free: 38.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/2.588, allocations: 11.98 kB / 1.26 GB, free: 38.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/2.588, allocations: 4 kB / 1.26 GB, free: 38.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001051/2.588, allocations: 162 kB / 1.26 GB, free: 38.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.01e-07/2.588, allocations: 4 kB / 1.26 GB, free: 38.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001627/2.59, allocations: 383.5 kB / 1.26 GB, free: 38.2 MB / 0.4948 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.002209/2.592, allocations: 1.49 MB / 1.262 GB, free: 36.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003975/2.593, allocations: 271.9 kB / 1.262 GB, free: 36.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/2.593, allocations: 0 / 1.262 GB, free: 36.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/2.593, allocations: 153.6 kB / 1.262 GB, free: 36.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/2.593, allocations: 36.53 kB / 1.262 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4723/3.065, allocations: 77.1 MB / 1.337 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/3.066, allocations: 0.7607 MB / 1.338 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004269/3.066, allocations: 197.9 kB / 1.338 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/3.066, allocations: 84.06 kB / 1.338 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/3.066, allocations: 0 / 1.338 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/3.104, allocations: 12.95 MB / 1.351 GB, free: 134 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/3.105, allocations: 160.2 kB / 1.351 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/5.675, allocations: 0 / 1.351 GB, free: 133.8 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat