Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",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.0009249/0.0009251, allocations: 91.92 kB / 16.95 MB, free: 6.891 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.001016/0.001016, allocations: 187.5 kB / 17.84 MB, free: 6.137 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.509/1.509, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.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.0006461/0.0006463, allocations: 12 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1158, allocations: 47.58 MB / 328.5 MB, free: 3.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.0299/0.1457, allocations: 30.11 MB / 358.6 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01668/0.1625, allocations: 14.63 MB / 373.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000404/0.1629, allocations: 4 kB / 373.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007517/0.1637, allocations: 218.8 kB / 373.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007367/0.1644, allocations: 334.2 kB / 373.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01442/0.1789, allocations: 4.453 MB / 378.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.1804, allocations: 1.192 MB / 379.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.1806, allocations: 81.03 kB / 379.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1902/0.3708, allocations: 3.288 MB / 382.8 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004235/0.3713, allocations: 288.1 kB / 383 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.3713, allocations: 16.81 kB / 383.1 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006122/0.3774, allocations: 3.356 MB / 386.4 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.3776, allocations: 77.34 kB / 386.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.3778, allocations: 113.4 kB / 386.6 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.3803, allocations: 1.637 MB / 388.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3803, allocations: 0 / 388.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3803, allocations: 0 / 388.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3803, allocations: 0 / 388.2 MB, free: 14.5 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001443/0.3817, allocations: 0.7446 MB / 389 MB, free: 14.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3818, allocations: 9.719 kB / 389 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.545e-05/0.3819, allocations: 72.05 kB / 389.1 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006647/0.3825, allocations: 89.53 kB / 389.2 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.3829, allocations: 296.2 kB / 389.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.3829, allocations: 24.12 kB / 389.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.383, allocations: 32.41 kB / 389.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007228/0.3837, allocations: 442.6 kB / 389.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.3837, allocations: 3.484 kB / 389.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.3838, allocations: 19.47 kB / 390 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.3838, allocations: 8 kB / 390 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005093/0.3843, allocations: 311.9 kB / 390.3 MB, free: 13.61 MB / 318.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.002027/0.3863, allocations: 2.623 MB / 392.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/0.3868, allocations: 253.3 kB / 393.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.387, allocations: 101.5 kB / 393.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02594/0.413, allocations: 15.59 MB / 408.8 MB, free: 17.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.413, allocations: 30.56 kB / 408.9 MB, free: 17.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.4131, allocations: 4.562 kB / 408.9 MB, free: 17.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.003954/0.417, allocations: 1.315 MB / 410.2 MB, free: 17.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.4171, allocations: 58.69 kB / 410.2 MB, free: 17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.4173, allocations: 268.8 kB / 410.5 MB, free: 16.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.4173, allocations: 28.95 kB / 410.5 MB, free: 16.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.694e-05/0.4174, allocations: 197.2 kB / 410.7 MB, free: 16.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.282e-05/0.4175, allocations: 116.8 kB / 410.8 MB, free: 16.6 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.4175, allocations: 8.75 kB / 410.8 MB, free: 16.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4176, allocations: 337.8 kB / 411.2 MB, free: 16.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.4178, allocations: 98.55 kB / 411.3 MB, free: 16.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.418, allocations: 224.5 kB / 411.5 MB, free: 16.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.4181, allocations: 135.5 kB / 411.6 MB, free: 16.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4181, allocations: 3.625 kB / 411.6 MB, free: 16.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006137/0.4188, allocations: 436.8 kB / 412 MB, free: 15.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4188, allocations: 3.938 kB / 412.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4188, allocations: 3.812 kB / 412.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/0.4213, allocations: 274 kB / 412.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.4216, allocations: 81.25 kB / 412.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.4228, allocations: 1.876 MB / 414.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.4231, allocations: 23.08 kB / 414.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.4231, allocations: 19.06 kB / 414.3 MB, free: 14.06 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.4233, allocations: 174.2 kB / 414.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.4233, allocations: 31.25 kB / 414.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008423/0.4242, allocations: 0.9376 MB / 415.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.4242, allocations: 12.58 kB / 415.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.4242, allocations: 4 kB / 415.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007937/0.425, allocations: 1.121 MB / 416.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.4264, allocations: 1.585 MB / 418.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.4264, allocations: 0 / 418.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.4266, allocations: 54.78 kB / 418.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.4279, allocations: 295 kB / 418.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.428, allocations: 7.719 kB / 418.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004258/0.4284, allocations: 0.6631 MB / 419.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4284, allocations: 9.609 kB / 419.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/0.4293, allocations: 0.9582 MB / 420.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.366e-05/0.4294, allocations: 142.2 kB / 420.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.4294, allocations: 3.875 kB / 420.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.4296, allocations: 11.56 kB / 420.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.4297, allocations: 19.47 kB / 420.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.4297, allocations: 16.61 kB / 420.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.4299, allocations: 241 kB / 420.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4299, allocations: 0 / 420.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001928/0.4318, allocations: 0.4945 MB / 421.1 MB, free: 10.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002998/0.4349, allocations: 1.913 MB / 423 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007908/0.4357, allocations: 0.5168 MB / 423.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4357, allocations: 0 / 423.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.4361, allocations: 301.2 kB / 423.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/0.4371, allocations: 182.5 kB / 424 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.4413, allocations: 2.527 MB / 426.5 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.4418, allocations: 0.8167 MB / 427.3 MB, free: 5.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003212/0.4421, allocations: 113.6 kB / 427.4 MB, free: 5.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.4422, allocations: 150.3 kB / 427.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4423, allocations: 0 / 427.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0475/0.4898, allocations: 22.67 MB / 450.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.49, allocations: 233.1 kB / 450.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/3.211, allocations: 0 / 450.5 MB, free: 14.46 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat