Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001203/0.001203, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009541/0.0009543, allocations: 94.56 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.404e-05, allocations: 0 / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 63.24 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.321/1.427, allocations: 0.5462 GB / 1.058 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/1.427, allocations: 79.95 kB / 1.058 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4759/1.903, allocations: 108.5 MB / 1.164 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.954e-06/1.903, allocations: 3.844 kB / 1.164 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.593e-05/1.903, allocations: 3.156 kB / 1.164 GB, free: 153.4 MB / 0.5261 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.00367/1.907, allocations: 1.039 MB / 1.165 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.736e-05/1.907, allocations: 13.88 kB / 1.165 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/1.907, allocations: 61.03 kB / 1.165 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006458/1.908, allocations: 75.58 kB / 1.165 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/1.908, allocations: 249.6 kB / 1.165 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/1.908, allocations: 19.7 kB / 1.165 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/1.908, allocations: 29.56 kB / 1.165 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.91, allocations: 495 kB / 1.166 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/1.91, allocations: 1.156 kB / 1.166 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/1.91, allocations: 11.75 kB / 1.166 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/1.91, allocations: 11.7 kB / 1.166 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/1.911, allocations: 0.6936 MB / 1.166 GB, free: 152.5 MB / 0.5261 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.008468/1.919, allocations: 4.161 MB / 1.17 GB, free: 151 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/1.92, allocations: 232.1 kB / 1.171 GB, free: 151 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/1.92, allocations: 77.84 kB / 1.171 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07983/2, allocations: 43.16 MB / 1.213 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005747/2.001, allocations: 253.9 kB / 1.213 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 2.474e-06/2.001, allocations: 2.078 kB / 1.213 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.002398/2.003, allocations: 0.7194 MB / 1.214 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/2.003, allocations: 268.8 kB / 1.214 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/2.003, allocations: 179.7 kB / 1.214 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/2.003, allocations: 32.89 kB / 1.214 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/2.004, allocations: 217.3 kB / 1.214 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/2.004, allocations: 77.8 kB / 1.215 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/2.004, allocations: 7.875 kB / 1.215 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.797e-05/2.004, allocations: 335.5 kB / 1.215 GB, free: 129 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.987e-05/2.004, allocations: 63.38 kB / 1.215 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/2.004, allocations: 342.1 kB / 1.215 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/2.004, allocations: 116.9 kB / 1.215 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/2.004, allocations: 3.719 kB / 1.215 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006311/2.005, allocations: 430.6 kB / 1.216 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/2.005, allocations: 11.25 kB / 1.216 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/2.005, allocations: 7.25 kB / 1.216 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/2.007, allocations: 323.8 kB / 1.216 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/2.007, allocations: 101.8 kB / 1.216 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004525/2.007, allocations: 1.222 MB / 1.217 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/2.008, allocations: 29.98 kB / 1.217 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/2.008, allocations: 25.84 kB / 1.217 GB, free: 127.3 MB / 0.5261 GB 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.0001081/2.008, allocations: 145.2 kB / 1.218 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/2.008, allocations: 29.55 kB / 1.218 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009132/2.009, allocations: 0.7992 MB / 1.218 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/2.009, allocations: 3.906 kB / 1.218 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/2.009, allocations: 3.906 kB / 1.218 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/2.009, allocations: 7.719 kB / 1.218 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/2.009, allocations: 0.4909 MB / 1.219 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/2.009, allocations: 7.672 kB / 1.219 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/2.009, allocations: 39.94 kB / 1.219 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/2.011, allocations: 256.1 kB / 1.219 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/2.011, allocations: 11.69 kB / 1.219 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004054/2.011, allocations: 1.256 MB / 1.22 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/2.011, allocations: 3.953 kB / 1.22 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/2.012, allocations: 0.5337 MB / 1.221 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/2.012, allocations: 224.4 kB / 1.221 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.659e-05/2.012, allocations: 11.38 kB / 1.221 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/2.012, allocations: 17.53 kB / 1.221 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/2.012, allocations: 14.77 kB / 1.221 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/2.012, allocations: 14.91 kB / 1.221 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002986/2.012, allocations: 291.8 kB / 1.221 GB, free: 125 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/2.012, allocations: 0 / 1.221 GB, free: 125 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001806/2.014, allocations: 408.6 kB / 1.222 GB, free: 124.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (21): * Single equations (assignments): 18 * 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.003198/2.017, allocations: 2.236 MB / 1.224 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005318/2.018, allocations: 316.6 kB / 1.224 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/2.018, allocations: 4.5 kB / 1.224 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/2.018, allocations: 182 kB / 1.225 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/2.019, allocations: 77.55 kB / 1.225 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.984/5.002, allocations: 1.252 GB / 2.477 GB, free: 64.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/5.003, allocations: 0.8363 MB / 2.478 GB, free: 63.76 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003324/5.003, allocations: 122.8 kB / 2.478 GB, free: 63.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/5.003, allocations: 147.4 kB / 2.478 GB, free: 63.52 MB / 0.5261 GB Notification: Performance of SimCode: time 7.01e-07/5.003, allocations: 0 / 2.478 GB, free: 63.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/5.033, allocations: 17.62 MB / 2.495 GB, free: 46.33 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/5.033, allocations: 210.7 kB / 2.495 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/7.491, allocations: 0 / 2.495 GB, free: 46.11 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat