Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_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.001177/0.001177, allocations: 95.64 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 186.9 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2108/0.2108, allocations: 44.22 MB / 337.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003463, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03157/0.1708, allocations: 22.36 MB / 493.9 MB, free: 7.238 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01763/0.1885, allocations: 9.677 MB / 0.4918 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.1889, allocations: 4 kB / 0.4918 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.1892, allocations: 55.64 kB / 0.4918 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02236/0.2116, allocations: 6.764 MB / 0.4984 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.2127, allocations: 313.3 kB / 0.4987 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007766/0.2135, allocations: 311.9 kB / 0.499 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.505e-05/0.2136, allocations: 24.25 kB / 0.4991 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.2139, allocations: 183.4 kB / 0.4992 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3034/0.5173, allocations: 11.09 MB / 0.5101 GB, free: 18.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.128e-05/0.5175, allocations: 9.125 kB / 0.5101 GB, free: 18.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02595/0.5434, allocations: 11.62 MB / 0.5214 GB, free: 18.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.5436, allocations: 77.19 kB / 0.5215 GB, free: 18.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.5437, allocations: 75.11 kB / 0.5216 GB, free: 18.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.5564, allocations: 4.224 MB / 0.5257 GB, free: 17.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.5564, allocations: 0 / 0.5257 GB, free: 17.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.5564, allocations: 0 / 0.5257 GB, free: 17.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.5565, allocations: 3 kB / 0.5257 GB, free: 17.6 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.005164/0.5616, allocations: 1.49 MB / 0.5271 GB, free: 16.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.5617, allocations: 10.44 kB / 0.5272 GB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.202e-05/0.5618, allocations: 68.72 kB / 0.5272 GB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.562, allocations: 30.73 kB / 0.5273 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.5623, allocations: 252 kB / 0.5275 GB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.5623, allocations: 22.22 kB / 0.5275 GB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.5623, allocations: 22.27 kB / 0.5275 GB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007856/0.5631, allocations: 0.5154 MB / 0.528 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5632, allocations: 0 / 0.528 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.5632, allocations: 14.2 kB / 0.5281 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-05/0.5632, allocations: 27.72 kB / 0.5281 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.5643, allocations: 0.916 MB / 0.529 GB, free: 15.89 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.001979/0.5663, allocations: 1.952 MB / 0.5309 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.567, allocations: 269.7 kB / 0.5311 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01527/0.5823, allocations: 15.7 MB / 0.5465 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004769/0.5828, allocations: 241.6 kB / 0.5467 GB, free: 12.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.405e-06/0.5828, allocations: 0 / 0.5467 GB, free: 12.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002203/0.585, allocations: 0.7725 MB / 0.5475 GB, free: 11.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.5851, allocations: 264.5 kB / 0.5477 GB, free: 11.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.5853, allocations: 210.7 kB / 0.5479 GB, free: 10.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.5854, allocations: 38.61 kB / 0.5479 GB, free: 10.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.5855, allocations: 196 kB / 0.5481 GB, free: 10.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.886e-05/0.5856, allocations: 125.7 kB / 0.5483 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.5856, allocations: 17.53 kB / 0.5483 GB, free: 10.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5858, allocations: 330.2 kB / 0.5486 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.5859, allocations: 89.98 kB / 0.5487 GB, free: 10.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.5863, allocations: 357.8 kB / 0.549 GB, free: 9.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.5867, allocations: 157.7 kB / 0.5492 GB, free: 9.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5867, allocations: 4 kB / 0.5492 GB, free: 9.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001115/0.5878, allocations: 0.4961 MB / 0.5496 GB, free: 9.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.5878, allocations: 8 kB / 0.5497 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.5879, allocations: 8 kB / 0.5497 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.5879, allocations: 16 kB / 0.5497 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.5885, allocations: 179.4 kB / 0.5499 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006629/0.5892, allocations: 1.193 MB / 0.551 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.5895, allocations: 27.09 kB / 0.551 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-05/0.5896, allocations: 44.02 kB / 0.5511 GB, free: 7.746 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.0002282/0.5898, allocations: 176.4 kB / 0.5513 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.59, allocations: 33.8 kB / 0.5513 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.5911, allocations: 0.4911 MB / 0.5518 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.5911, allocations: 4 kB / 0.5518 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5911, allocations: 0 / 0.5518 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.5912, allocations: 3.984 kB / 0.5518 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009411/0.5921, allocations: 0.6165 MB / 0.5524 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5921, allocations: 0 / 0.5524 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.5925, allocations: 87.56 kB / 0.5525 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.5925, allocations: 4 kB / 0.5525 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.5926, allocations: 11.8 kB / 0.5525 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000555/0.5931, allocations: 1.17 MB / 0.5536 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5931, allocations: 11.97 kB / 0.5536 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005653/0.5937, allocations: 375 kB / 0.554 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.5938, allocations: 131.8 kB / 0.5541 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.5939, allocations: 11.7 kB / 0.5541 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.5941, allocations: 14.98 kB / 0.5541 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.5942, allocations: 32.52 kB / 0.5542 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.5942, allocations: 12 kB / 0.5542 GB, free: 4.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.5944, allocations: 163.5 kB / 0.5543 GB, free: 4.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5944, allocations: 1.641 kB / 0.5543 GB, free: 4.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006663/0.601, allocations: 1.666 MB / 0.556 GB, free: 3.012 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.01191/0.613, allocations: 3.273 MB / 0.5592 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.6143, allocations: 324 kB / 0.5595 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.6143, allocations: 0 / 0.5595 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004233/0.6148, allocations: 124.1 kB / 0.5596 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.6153, allocations: 73.38 kB / 0.5597 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009362/0.6247, allocations: 8.388 MB / 0.5678 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.6252, allocations: 0.7605 MB / 0.5686 GB, free: 6.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006418/0.6259, allocations: 147.7 kB / 0.5687 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.6261, allocations: 91.77 kB / 0.5688 GB, free: 6.238 MB / 414.1 MB Notification: Performance of SimCode: time 1.462e-06/0.6261, allocations: 8 kB / 0.5688 GB, free: 6.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09638/0.7225, allocations: 50.1 MB / 0.6177 GB, free: 4.488 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/0.7228, allocations: 283.8 kB / 0.618 GB, free: 4.129 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.931/4.654, allocations: 3.75 kB / 0.618 GB, free: 4.129 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat