Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.0008103/0.0008102, allocations: 97.25 kB / 15.7 MB, free: 468 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.000818/0.0008181, allocations: 169.5 kB / 16.58 MB, free: 5.629 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.476/1.476, allocations: 205.4 MB / 222.8 MB, free: 5.559 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.4157/0.4157, allocations: 43.54 MB / 314.6 MB, free: 8.832 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.0005369/0.0005372, allocations: 12 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1391, allocations: 58.86 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01101/0.1502, allocations: 10.2 MB / 453.1 MB, free: 2.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.29/0.4403, allocations: 13.09 MB / 466.2 MB, free: 36.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.4406, allocations: 4 kB / 466.2 MB, free: 36.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.441, allocations: 55.25 kB / 466.2 MB, free: 36.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009332/0.4503, allocations: 2.441 MB / 468.7 MB, free: 35.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.4508, allocations: 150.8 kB / 468.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009312/0.4601, allocations: 7.407 MB / 476.2 MB, free: 35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.94e-05/0.4602, allocations: 20.72 kB / 476.2 MB, free: 35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.4604, allocations: 136.1 kB / 476.4 MB, free: 34.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01913/0.4795, allocations: 14.16 MB / 490.5 MB, free: 33.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.872e-05/0.4797, allocations: 7.156 kB / 490.5 MB, free: 33.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006852/0.4865, allocations: 1.957 MB / 492.5 MB, free: 33.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.4867, allocations: 48.69 kB / 492.5 MB, free: 33.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.4869, allocations: 64.42 kB / 492.6 MB, free: 33.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.4892, allocations: 1.033 MB / 493.6 MB, free: 33.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.4893, allocations: 5.062 kB / 493.6 MB, free: 33.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4893, allocations: 0 / 493.6 MB, free: 33.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.4893, allocations: 0 / 493.6 MB, free: 33.43 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002078/0.4914, allocations: 0.8637 MB / 494.5 MB, free: 32.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.4914, allocations: 13.61 kB / 494.5 MB, free: 32.83 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.794e-05/0.4915, allocations: 67.3 kB / 494.6 MB, free: 32.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005375/0.4921, allocations: 78.36 kB / 494.7 MB, free: 32.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.4924, allocations: 250.9 kB / 494.9 MB, free: 32.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.4924, allocations: 23.56 kB / 494.9 MB, free: 32.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.4925, allocations: 24.5 kB / 495 MB, free: 32.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.4935, allocations: 484.1 kB / 495.4 MB, free: 32.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.4935, allocations: 5.031 kB / 495.4 MB, free: 32.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.4936, allocations: 11.41 kB / 495.4 MB, free: 32.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.4936, allocations: 6.594 kB / 495.5 MB, free: 32.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.4949, allocations: 0.6815 MB / 496.1 MB, free: 32.1 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.007007/0.502, allocations: 4.29 MB / 0.4887 GB, free: 29.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.5025, allocations: 162.2 kB / 0.4888 GB, free: 28.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.794e-05/0.5026, allocations: 62.12 kB / 0.4889 GB, free: 28.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02451/0.5272, allocations: 16.38 MB / 0.5049 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006868/0.5279, allocations: 324.3 kB / 0.5052 GB, free: 14.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.485e-06/0.5279, allocations: 0 / 0.5052 GB, free: 14.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00124/0.5292, allocations: 436.3 kB / 0.5056 GB, free: 13.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.5293, allocations: 478.6 kB / 0.5061 GB, free: 13.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.5294, allocations: 185.1 kB / 0.5063 GB, free: 12.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.5295, allocations: 38.05 kB / 0.5063 GB, free: 12.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.5296, allocations: 180.2 kB / 0.5065 GB, free: 12.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.5296, allocations: 108 kB / 0.5066 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/0.5296, allocations: 4 kB / 0.5066 GB, free: 12.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.5297, allocations: 328.8 kB / 0.5069 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.5298, allocations: 62.86 kB / 0.5069 GB, free: 12.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.53, allocations: 308.1 kB / 0.5072 GB, free: 11.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.5302, allocations: 113.7 kB / 0.5074 GB, free: 11.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5302, allocations: 4 kB / 0.5074 GB, free: 11.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005137/0.5307, allocations: 388.6 kB / 0.5077 GB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.5308, allocations: 11.95 kB / 0.5077 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.5308, allocations: 16.12 kB / 0.5078 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.5308, allocations: 13.59 kB / 0.5078 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.5311, allocations: 111.9 kB / 0.5079 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.5311, allocations: 18.52 kB / 0.5079 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.5314, allocations: 55.38 kB / 0.5079 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.5315, allocations: 30.91 kB / 0.508 GB, free: 11.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.5316, allocations: 150.9 kB / 0.5081 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.5317, allocations: 20.66 kB / 0.5081 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.5328, allocations: 0.8155 MB / 0.5089 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.5329, allocations: 7.984 kB / 0.5089 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5329, allocations: 4.75 kB / 0.5089 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.5329, allocations: 0 / 0.5089 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.534, allocations: 1.22 MB / 0.5101 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.534, allocations: 8.188 kB / 0.5101 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.5341, allocations: 27.98 kB / 0.5102 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/0.5341, allocations: 4.562 kB / 0.5102 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.5341, allocations: 11.94 kB / 0.5102 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.5342, allocations: 7.938 kB / 0.5102 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.5342, allocations: 7.953 kB / 0.5102 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.5345, allocations: 363.3 kB / 0.5105 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.5346, allocations: 220.1 kB / 0.5108 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/0.5347, allocations: 15.94 kB / 0.5108 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.5349, allocations: 12 kB / 0.5108 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.535, allocations: 15.92 kB / 0.5108 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.535, allocations: 16.86 kB / 0.5108 GB, free: 8.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002776/0.5353, allocations: 286.9 kB / 0.5111 GB, free: 7.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5353, allocations: 0 / 0.5111 GB, free: 7.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001824/0.5371, allocations: 431.5 kB / 0.5115 GB, free: 7.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (19): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001809/0.5389, allocations: 1.42 MB / 0.5129 GB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.5393, allocations: 227.9 kB / 0.5131 GB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5393, allocations: 0.75 kB / 0.5131 GB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/0.5394, allocations: 87.8 kB / 0.5132 GB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.5401, allocations: 98.69 kB / 0.5133 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.413/1.953, allocations: 0.5781 GB / 1.091 GB, free: 83.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/1.953, allocations: 0.8077 MB / 1.092 GB, free: 82.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004765/1.954, allocations: 157 kB / 1.092 GB, free: 82.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/1.954, allocations: 139.4 kB / 1.092 GB, free: 82.44 MB / 494.1 MB Notification: Performance of SimCode: time 1.213e-06/1.954, allocations: 0 / 1.092 GB, free: 82.44 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/1.984, allocations: 17.47 MB / 1.11 GB, free: 65.1 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/1.984, allocations: 220.6 kB / 1.11 GB, free: 64.85 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/4.334, allocations: 0 / 1.11 GB, free: 64.85 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat