Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 195.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009868/0.0009874, allocations: 102.6 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 45.15 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.734e-05, allocations: 0 / 453.3 MB, free: 75.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1348, allocations: 63.25 MB / 0.5045 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.2/8.335, allocations: 3.504 GB / 4.009 GB, free: 59.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/8.335, allocations: 67.97 kB / 4.009 GB, free: 59.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5548/8.89, allocations: 86.45 MB / 4.093 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.573e-06/8.89, allocations: 3.812 kB / 4.093 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.299e-05/8.89, allocations: 3.875 kB / 4.093 GB, free: 160.9 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003093/8.893, allocations: 1.039 MB / 4.094 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/8.893, allocations: 10.34 kB / 4.094 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/8.894, allocations: 36.5 kB / 4.094 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/8.894, allocations: 252.3 kB / 4.095 GB, free: 160.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.86e-05/8.894, allocations: 118.1 kB / 4.095 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.483e-05/8.894, allocations: 16.5 kB / 4.095 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001078/8.895, allocations: 1.189 MB / 4.096 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/8.896, allocations: 0.51 MB / 4.096 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/8.896, allocations: 2.344 kB / 4.096 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/8.896, allocations: 6.188 kB / 4.096 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/8.896, allocations: 25.88 kB / 4.096 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/8.899, allocations: 4.525 MB / 4.101 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/8.9, allocations: 126.5 kB / 4.101 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.919e-05/8.9, allocations: 45.33 kB / 4.101 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/8.9, allocations: 361.1 kB / 4.101 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/8.9, allocations: 33.94 kB / 4.101 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.044e-06/8.9, allocations: 0 / 4.101 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.0009858/8.901, allocations: 311.1 kB / 4.102 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/8.901, allocations: 58.75 kB / 4.102 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/8.901, allocations: 251.4 kB / 4.102 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/8.901, allocations: 25.7 kB / 4.102 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/8.901, allocations: 272.9 kB / 4.102 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/8.901, allocations: 71.5 kB / 4.102 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/8.901, allocations: 0 / 4.102 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.157e-05/8.902, allocations: 332.3 kB / 4.103 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/8.902, allocations: 97.33 kB / 4.103 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/8.902, allocations: 391 kB / 4.103 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/8.903, allocations: 300.9 kB / 4.103 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/8.903, allocations: 3.875 kB / 4.103 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001525/8.905, allocations: 0.6226 MB / 4.104 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/8.905, allocations: 11.53 kB / 4.104 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/8.905, allocations: 12.56 kB / 4.104 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/8.905, allocations: 18.09 kB / 4.104 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/8.905, allocations: 207.7 kB / 4.104 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004519/8.906, allocations: 1.212 MB / 4.105 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/8.906, allocations: 21.5 kB / 4.105 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.258e-05/8.906, allocations: 68 kB / 4.105 GB, free: 152.9 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $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: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001534/8.906, allocations: 139.8 kB / 4.106 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003334/8.907, allocations: 161.1 kB / 4.106 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/8.907, allocations: 26.31 kB / 4.106 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004494/8.907, allocations: 219.7 kB / 4.106 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/8.907, allocations: 2.844 kB / 4.106 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/8.907, allocations: 3.141 kB / 4.106 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/8.907, allocations: 7.438 kB / 4.106 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/8.908, allocations: 0.5004 MB / 4.107 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/8.908, allocations: 3.953 kB / 4.107 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/8.908, allocations: 73.41 kB / 4.107 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/8.908, allocations: 0 / 4.107 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/8.908, allocations: 7.094 kB / 4.107 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004703/8.909, allocations: 1.196 MB / 4.108 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/8.909, allocations: 0 / 4.108 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/8.909, allocations: 287.4 kB / 4.108 GB, free: 151 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/8.909, allocations: 159.4 kB / 4.108 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.072e-05/8.909, allocations: 3.797 kB / 4.108 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/8.91, allocations: 5.531 kB / 4.108 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/8.91, allocations: 14.7 kB / 4.108 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/8.91, allocations: 15 kB / 4.108 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001509/8.91, allocations: 177.2 kB / 4.108 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/8.91, allocations: 4 kB / 4.108 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002435/8.912, allocations: 0.5517 MB / 4.109 GB, free: 150.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 1 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002951/8.915, allocations: 2.054 MB / 4.111 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006434/8.916, allocations: 310.6 kB / 4.111 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/8.916, allocations: 0 / 4.111 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/8.916, allocations: 91.8 kB / 4.111 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/8.917, allocations: 57.08 kB / 4.111 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1052/9.022, allocations: 51.01 MB / 4.161 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/9.022, allocations: 0.761 MB / 4.162 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009675/9.023, allocations: 242.6 kB / 4.162 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/9.023, allocations: 107.4 kB / 4.162 GB, free: 114 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/9.023, allocations: 0 / 4.162 GB, free: 114 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04431/9.068, allocations: 19.32 MB / 4.181 GB, free: 94.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003465/9.068, allocations: 164.9 kB / 4.181 GB, free: 94.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/11.66, allocations: 1.828 kB / 4.181 GB, free: 94.5 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat does not exist to compare? outputFormat=mat