Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.001/0.001001, allocations: 96.67 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.001116/0.001116, allocations: 176.3 kB / 16.57 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 2.013/2.013, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.4453/0.4453, allocations: 43.55 MB / 314.5 MB, free: 8.754 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.0005694/0.0005697, allocations: 12 kB / 384 MB, free: 7.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1528, allocations: 58.86 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.315/0.4678, allocations: 22.57 MB / 465.4 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.4707, allocations: 2.57 MB / 468 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.4709, allocations: 2.5 kB / 468 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.4712, allocations: 43.33 kB / 468 MB, free: 35.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.4727, allocations: 0.5998 MB / 468.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.4731, allocations: 123.8 kB / 468.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.4735, allocations: 256.6 kB / 469 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.018e-05/0.4736, allocations: 17.84 kB / 469 MB, free: 35.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04622/0.5198, allocations: 22.23 MB / 491.2 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004683/0.5203, allocations: 130.9 kB / 491.4 MB, free: 33.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.5204, allocations: 9.406 kB / 491.4 MB, free: 33.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01246/0.5329, allocations: 5.594 MB / 497 MB, free: 32.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.464e-05/0.533, allocations: 41.92 kB / 497 MB, free: 32.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.5331, allocations: 62.52 kB / 497.1 MB, free: 32.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006779/0.5338, allocations: 289 kB / 497.4 MB, free: 32.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5338, allocations: 5.094 kB / 497.4 MB, free: 32.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5338, allocations: 0 / 497.4 MB, free: 32.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.5339, allocations: 0 / 497.4 MB, free: 32.59 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00102/0.5349, allocations: 0.541 MB / 497.9 MB, free: 32.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.5349, allocations: 13.61 kB / 497.9 MB, free: 32.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.708e-05/0.535, allocations: 65.09 kB / 498 MB, free: 32.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.5352, allocations: 23.5 kB / 498 MB, free: 32.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.5354, allocations: 221.7 kB / 498.2 MB, free: 31.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.5355, allocations: 127.9 kB / 498.3 MB, free: 31.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.5356, allocations: 26.06 kB / 498.4 MB, free: 31.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.5361, allocations: 319.7 kB / 498.7 MB, free: 31.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.5361, allocations: 4.547 kB / 498.7 MB, free: 31.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.5361, allocations: 9.312 kB / 498.7 MB, free: 31.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.5362, allocations: 10.66 kB / 498.7 MB, free: 31.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00091/0.5371, allocations: 0.7336 MB / 499.4 MB, free: 30.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.001475/0.5386, allocations: 1.355 MB / 0.4891 GB, free: 29.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.5389, allocations: 160.9 kB / 0.4892 GB, free: 29.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002217/0.5411, allocations: 2.866 MB / 0.492 GB, free: 26.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.5411, allocations: 35.36 kB / 0.492 GB, free: 26.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.5412, allocations: 4 kB / 0.4921 GB, free: 26.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003431/0.5415, allocations: 137.6 kB / 0.4922 GB, free: 26.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.5416, allocations: 55.41 kB / 0.4922 GB, free: 25.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.5417, allocations: 204.3 kB / 0.4924 GB, free: 25.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.5418, allocations: 25.7 kB / 0.4925 GB, free: 25.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.5419, allocations: 214.2 kB / 0.4927 GB, free: 25.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.5419, allocations: 49.94 kB / 0.4927 GB, free: 25.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.5419, allocations: 4 kB / 0.4927 GB, free: 25.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.542, allocations: 331.9 kB / 0.493 GB, free: 25.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.5421, allocations: 50.53 kB / 0.4931 GB, free: 25.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.5423, allocations: 319.1 kB / 0.4934 GB, free: 24.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.5425, allocations: 101.1 kB / 0.4935 GB, free: 24.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.5425, allocations: 4 kB / 0.4935 GB, free: 24.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005144/0.543, allocations: 383.8 kB / 0.4938 GB, free: 24.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.5431, allocations: 8 kB / 0.4939 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.5431, allocations: 12 kB / 0.4939 GB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.5431, allocations: 12 kB / 0.4939 GB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.5434, allocations: 100.7 kB / 0.494 GB, free: 24.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.5434, allocations: 21.7 kB / 0.494 GB, free: 24.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.5436, allocations: 52.73 kB / 0.494 GB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.5437, allocations: 30.48 kB / 0.4941 GB, free: 24.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001144/0.5438, allocations: 154.8 kB / 0.4942 GB, free: 23.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.5438, allocations: 15.81 kB / 0.4942 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.5442, allocations: 190.6 kB / 0.4944 GB, free: 23.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.5442, allocations: 4.797 kB / 0.4944 GB, free: 23.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5442, allocations: 1.062 kB / 0.4944 GB, free: 23.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5442, allocations: 4.797 kB / 0.4944 GB, free: 23.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.5447, allocations: 443.3 kB / 0.4949 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5447, allocations: 4.594 kB / 0.4949 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.578e-05/0.5448, allocations: 22.42 kB / 0.4949 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.5448, allocations: 4 kB / 0.4949 GB, free: 23.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.5449, allocations: 4 kB / 0.4949 GB, free: 23.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.5449, allocations: 9.281 kB / 0.4949 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5449, allocations: 0 / 0.4949 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.5451, allocations: 269.9 kB / 0.4951 GB, free: 22.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.5452, allocations: 122.2 kB / 0.4953 GB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.5452, allocations: 5.109 kB / 0.4953 GB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.5454, allocations: 5.453 kB / 0.4953 GB, free: 22.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.5455, allocations: 11.42 kB / 0.4953 GB, free: 22.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.5455, allocations: 6.141 kB / 0.4953 GB, free: 22.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.5456, allocations: 152 kB / 0.4954 GB, free: 22.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5456, allocations: 0 / 0.4954 GB, free: 22.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005564/0.5462, allocations: 105.9 kB / 0.4955 GB, free: 22.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.000639/0.5468, allocations: 1.158 MB / 0.4967 GB, free: 21.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.5471, allocations: 170.4 kB / 0.4968 GB, free: 21.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5471, allocations: 0 / 0.4968 GB, free: 21.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.5472, allocations: 33.11 kB / 0.4969 GB, free: 21.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.5476, allocations: 53.36 kB / 0.4969 GB, free: 21.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.5505, allocations: 7.794 MB / 0.5045 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.5507, allocations: 0.7368 MB / 0.5052 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.551, allocations: 59 kB / 0.5053 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.5511, allocations: 58.47 kB / 0.5054 GB, free: 12.32 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5511, allocations: 0 / 0.5054 GB, free: 12.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.571, allocations: 5.15 MB / 0.5104 GB, free: 9.211 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.5713, allocations: 201.5 kB / 0.5106 GB, free: 8.965 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.422, allocations: 0 / 0.5106 GB, free: 8.965 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat