Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008896/0.000889, allocations: 92.17 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 180.3 kB / 16.58 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4122/0.4122, allocations: 43.55 MB / 314.6 MB, free: 8.82 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005565/0.0005568, allocations: 12 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1386, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.298/0.4367, allocations: 25.23 MB / 468.1 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.4496, allocations: 12.12 MB / 480.2 MB, free: 29.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.4499, allocations: 7.875 kB / 480.2 MB, free: 29.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.4502, allocations: 48.33 kB / 480.3 MB, free: 29.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02177/0.472, allocations: 6.236 MB / 486.5 MB, free: 26.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008781/0.4729, allocations: 310.2 kB / 486.8 MB, free: 26.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007399/0.4736, allocations: 0.575 MB / 487.4 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.032e-05/0.4737, allocations: 17.28 kB / 487.4 MB, free: 26.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003565/0.4741, allocations: 188.4 kB / 487.6 MB, free: 26.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02017/0.4943, allocations: 11.35 MB / 499 MB, free: 24.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.489e-05/0.4944, allocations: 9.531 kB / 499 MB, free: 24.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02669/0.5211, allocations: 11.14 MB / 0.4981 GB, free: 21.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.5213, allocations: 87.36 kB / 0.4982 GB, free: 21.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.5215, allocations: 77.27 kB / 0.4983 GB, free: 21.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.5338, allocations: 4.135 MB / 0.5023 GB, free: 19.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.5338, allocations: 0 / 0.5023 GB, free: 19.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5338, allocations: 0 / 0.5023 GB, free: 19.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.5339, allocations: 3.938 kB / 0.5023 GB, free: 19.55 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00509/0.5389, allocations: 1.448 MB / 0.5038 GB, free: 18.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.539, allocations: 16.02 kB / 0.5038 GB, free: 18.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.5391, allocations: 66.52 kB / 0.5038 GB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.5393, allocations: 37.44 kB / 0.5039 GB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.5396, allocations: 239.9 kB / 0.5041 GB, free: 17.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.5397, allocations: 24.52 kB / 0.5041 GB, free: 17.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.5397, allocations: 27.94 kB / 0.5042 GB, free: 17.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000734/0.5405, allocations: 0.513 MB / 0.5047 GB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.5405, allocations: 0 / 0.5047 GB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.5405, allocations: 12 kB / 0.5047 GB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.5406, allocations: 24.55 kB / 0.5047 GB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009345/0.5415, allocations: 0.9193 MB / 0.5056 GB, free: 16.34 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.001861/0.5434, allocations: 1.898 MB / 0.5074 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007935/0.5442, allocations: 263.8 kB / 0.5077 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.5444, allocations: 105.4 kB / 0.5078 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01711/0.5615, allocations: 15.76 MB / 0.5232 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005401/0.5621, allocations: 249.3 kB / 0.5234 GB, free: 10.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 3.136e-06/0.5621, allocations: 0 / 0.5234 GB, free: 10.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002421/0.5645, allocations: 0.7864 MB / 0.5242 GB, free: 10.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.5647, allocations: 269 kB / 0.5244 GB, free: 9.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.5649, allocations: 204.9 kB / 0.5246 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.565, allocations: 29.7 kB / 0.5247 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.5651, allocations: 199.7 kB / 0.5249 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.5652, allocations: 134.2 kB / 0.525 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.5653, allocations: 11.94 kB / 0.525 GB, free: 9.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5654, allocations: 338.8 kB / 0.5253 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.5656, allocations: 89.06 kB / 0.5254 GB, free: 8.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.5661, allocations: 365.5 kB / 0.5258 GB, free: 8.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.5664, allocations: 151.8 kB / 0.5259 GB, free: 8.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.5665, allocations: 4 kB / 0.5259 GB, free: 8.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00126/0.5677, allocations: 0.4973 MB / 0.5264 GB, free: 7.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.5678, allocations: 8 kB / 0.5264 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.5678, allocations: 12 kB / 0.5264 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.5678, allocations: 12 kB / 0.5264 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.5684, allocations: 179.7 kB / 0.5266 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000663/0.5691, allocations: 1.188 MB / 0.5278 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.5695, allocations: 31.83 kB / 0.5278 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/0.5696, allocations: 51.98 kB / 0.5278 GB, free: 6.078 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002226/0.5698, allocations: 161.8 kB / 0.528 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.57, allocations: 35.67 kB / 0.528 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.5711, allocations: 491.3 kB / 0.5285 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.5711, allocations: 4.031 kB / 0.5285 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5711, allocations: 4 kB / 0.5285 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.5711, allocations: 5.016 kB / 0.5285 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009847/0.5721, allocations: 0.6069 MB / 0.5291 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.5721, allocations: 0.5 kB / 0.5291 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.5725, allocations: 94.97 kB / 0.5292 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.5725, allocations: 8.125 kB / 0.5292 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.5726, allocations: 4 kB / 0.5292 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000672/0.5732, allocations: 1.172 MB / 0.5303 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/0.5733, allocations: 8.016 kB / 0.5303 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005977/0.5739, allocations: 315.5 kB / 0.5306 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.574, allocations: 120.7 kB / 0.5308 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.5741, allocations: 7.953 kB / 0.5308 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.5743, allocations: 19.98 kB / 0.5308 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.5744, allocations: 23.97 kB / 0.5308 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.5744, allocations: 8 kB / 0.5308 GB, free: 2.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001932/0.5746, allocations: 172.5 kB / 0.531 GB, free: 2.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5746, allocations: 0 / 0.531 GB, free: 2.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005966/0.5806, allocations: 1.604 MB / 0.5326 GB, free: 1.023 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009643/0.5903, allocations: 2.814 MB / 0.5353 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.5914, allocations: 313.3 kB / 0.5356 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.5914, allocations: 4.562 kB / 0.5356 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.5918, allocations: 119.8 kB / 0.5357 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.5925, allocations: 69.41 kB / 0.5358 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4861/1.079, allocations: 142 MB / 0.6744 GB, free: 119.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/1.079, allocations: 0.7577 MB / 0.6752 GB, free: 118.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00061/1.079, allocations: 137.9 kB / 0.6753 GB, free: 118.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/1.08, allocations: 97.48 kB / 0.6754 GB, free: 118.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/1.08, allocations: 0 / 0.6754 GB, free: 118.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08629/1.166, allocations: 50.62 MB / 0.7249 GB, free: 76.69 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/1.166, allocations: 290.4 kB / 0.7251 GB, free: 76.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.59/4.756, allocations: 0 / 0.7251 GB, free: 76.32 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat