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.001112/0.001112, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 105.9 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2358/0.2358, allocations: 45.15 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.331e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1443, allocations: 63.24 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.643/1.788, allocations: 0.5456 GB / 1.05 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/1.788, allocations: 79.95 kB / 1.05 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1741/1.962, allocations: 105.9 MB / 1.153 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.044e-06/1.962, allocations: 0 / 1.153 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.805e-05/1.962, allocations: 4 kB / 1.153 GB, free: 11.47 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.003272/1.965, allocations: 1.033 MB / 1.154 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.966, allocations: 8.031 kB / 1.155 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000529/1.966, allocations: 75.66 kB / 1.155 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/1.966, allocations: 258.6 kB / 1.155 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/1.966, allocations: 8 kB / 1.155 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/1.966, allocations: 19.94 kB / 1.155 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006005/1.967, allocations: 0.5827 MB / 1.155 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/1.967, allocations: 352.5 kB / 1.156 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/1.967, allocations: 3.938 kB / 1.156 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/1.968, allocations: 0 / 1.156 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/1.968, allocations: 8 kB / 1.156 GB, free: 9.016 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.4326/2.4, allocations: 27.74 MB / 1.183 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/2.4, allocations: 68.84 kB / 1.183 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/2.4, allocations: 33.19 kB / 1.183 GB, free: 143 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01734/2.418, allocations: 6.451 MB / 1.189 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/2.418, allocations: 88.5 kB / 1.189 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 3.046e-06/2.418, allocations: 0 / 1.189 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.002211/2.42, allocations: 424.1 kB / 1.19 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/2.42, allocations: 57.23 kB / 1.19 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/2.421, allocations: 182.4 kB / 1.19 GB, free: 140 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/2.421, allocations: 27.86 kB / 1.19 GB, free: 140 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/2.421, allocations: 244.8 kB / 1.19 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/2.421, allocations: 49.14 kB / 1.19 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/2.421, allocations: 0 / 1.19 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001005/2.421, allocations: 332.2 kB / 1.191 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/2.421, allocations: 54.16 kB / 1.191 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/2.421, allocations: 330 kB / 1.191 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009415/2.422, allocations: 191.4 kB / 1.191 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/2.422, allocations: 3.344 kB / 1.191 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001267/2.424, allocations: 470.3 kB / 1.192 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/2.424, allocations: 8.625 kB / 1.192 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/2.424, allocations: 9.062 kB / 1.192 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/2.424, allocations: 45.78 kB / 1.192 GB, free: 139 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/2.424, allocations: 102.2 kB / 1.192 GB, free: 139 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008439/2.425, allocations: 1.268 MB / 1.193 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/2.425, allocations: 10.28 kB / 1.193 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/2.426, allocations: 27.94 kB / 1.193 GB, free: 137.9 MB / 0.5261 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.00025/2.426, allocations: 132.7 kB / 1.193 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005432/2.426, allocations: 198.3 kB / 1.193 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/2.426, allocations: 26.23 kB / 1.193 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007607/2.427, allocations: 391.4 kB / 1.194 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/2.427, allocations: 3.75 kB / 1.194 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/2.427, allocations: 4.312 kB / 1.194 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/2.427, allocations: 0 / 1.194 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/2.428, allocations: 322.1 kB / 1.194 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/2.428, allocations: 0 / 1.194 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/2.428, allocations: 20.3 kB / 1.194 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.419e-05/2.428, allocations: 52.59 kB / 1.194 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/2.428, allocations: 11.25 kB / 1.194 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006637/2.428, allocations: 1.292 MB / 1.195 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/2.429, allocations: 0 / 1.195 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/2.429, allocations: 336 kB / 1.196 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/2.429, allocations: 115.6 kB / 1.196 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/2.429, allocations: 0 / 1.196 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/2.429, allocations: 11.52 kB / 1.196 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/2.429, allocations: 10.78 kB / 1.196 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/2.429, allocations: 3.969 kB / 1.196 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001234/2.43, allocations: 166.4 kB / 1.196 GB, free: 136 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/2.43, allocations: 0 / 1.196 GB, free: 136 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001712/2.431, allocations: 387 kB / 1.196 GB, free: 136 MB / 0.5261 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.002197/2.434, allocations: 1.483 MB / 1.198 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004315/2.434, allocations: 272 kB / 1.198 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/2.434, allocations: 6.562 kB / 1.198 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/2.434, allocations: 154 kB / 1.198 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/2.434, allocations: 32.86 kB / 1.198 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1128/2.547, allocations: 74.54 MB / 1.271 GB, free: 99.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/2.548, allocations: 0.7608 MB / 1.272 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000463/2.548, allocations: 200.1 kB / 1.272 GB, free: 98.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/2.548, allocations: 83.41 kB / 1.272 GB, free: 98.34 MB / 0.5261 GB Notification: Performance of SimCode: time 1.503e-06/2.548, allocations: 0 / 1.272 GB, free: 98.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04655/2.595, allocations: 12.93 MB / 1.285 GB, free: 85.53 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/2.595, allocations: 164.1 kB / 1.285 GB, free: 85.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/5.051, allocations: 2.188 kB / 1.285 GB, free: 85.34 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