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_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) 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_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_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.0008783/0.0008781, allocations: 96.55 kB / 16.95 MB, free: 5.988 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.0009204/0.0009203, allocations: 174.4 kB / 17.84 MB, free: 5.637 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.539/1.539, allocations: 205.4 MB / 224 MB, free: 13.15 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.0007163/0.0007164, allocations: 12 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.125, allocations: 47.59 MB / 328.5 MB, free: 3.969 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03179/0.1569, allocations: 30.1 MB / 358.6 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.176, allocations: 14.64 MB / 373.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000541/0.1766, allocations: 4 kB / 373.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009736/0.1776, allocations: 210.8 kB / 373.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009958/0.1786, allocations: 338.2 kB / 373.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0153/0.1939, allocations: 4.445 MB / 378.2 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001931/0.1959, allocations: 1.215 MB / 379.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.1962, allocations: 73.05 kB / 379.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1782/0.3744, allocations: 3.305 MB / 382.8 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005064/0.375, allocations: 300.2 kB / 383.1 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.375, allocations: 17.38 kB / 383.1 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/0.3868, allocations: 5.806 MB / 388.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.387, allocations: 86.94 kB / 389 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.3873, allocations: 102 kB / 389.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005484/0.3928, allocations: 2.58 MB / 391.7 MB, free: 14.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3928, allocations: 4 kB / 391.7 MB, free: 14.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3928, allocations: 0 / 391.7 MB, free: 14.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.3928, allocations: 0 / 391.7 MB, free: 14.46 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.003397/0.3962, allocations: 0.951 MB / 392.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3963, allocations: 10.16 kB / 392.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.92e-05/0.3964, allocations: 69.97 kB / 392.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.3976, allocations: 160.9 kB / 392.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.3981, allocations: 303.2 kB / 393.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.928e-05/0.3981, allocations: 29.41 kB / 393.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.3982, allocations: 35.06 kB / 393.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.3995, allocations: 0.5693 MB / 393.8 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.3995, allocations: 1.891 kB / 393.8 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.3996, allocations: 16.44 kB / 393.8 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.3996, allocations: 9.938 kB / 393.8 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.4009, allocations: 0.5351 MB / 394.4 MB, free: 13.46 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.002397/0.4033, allocations: 2.626 MB / 397 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.4046, allocations: 486.1 kB / 397.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.405, allocations: 175.1 kB / 397.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006007/0.4056, allocations: 0.5641 MB / 398.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.4056, allocations: 39.97 kB / 398.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.4056, allocations: 4 kB / 398.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004242/0.4099, allocations: 1.598 MB / 399.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.4099, allocations: 61.81 kB / 399.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.4102, allocations: 253.8 kB / 400.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.4102, allocations: 32.45 kB / 400.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.4103, allocations: 182.2 kB / 400.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.4104, allocations: 110.3 kB / 400.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.4104, allocations: 5.562 kB / 400.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.4105, allocations: 342.6 kB / 400.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.4108, allocations: 151.4 kB / 400.9 MB, free: 9.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.4112, allocations: 245.1 kB / 401.2 MB, free: 9.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.4116, allocations: 180.4 kB / 401.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4116, allocations: 2.688 kB / 401.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001051/0.4126, allocations: 0.5276 MB / 401.9 MB, free: 9.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4127, allocations: 10.22 kB / 401.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.4127, allocations: 9.766 kB / 401.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004285/0.4131, allocations: 117.5 kB / 402 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.4134, allocations: 92.38 kB / 402.1 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.4147, allocations: 2.423 MB / 404.5 MB, free: 7.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.415, allocations: 55.84 kB / 404.6 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.4151, allocations: 20.02 kB / 404.6 MB, free: 7.211 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.4152, allocations: 154.4 kB / 404.8 MB, free: 7.098 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.4153, allocations: 31.72 kB / 404.8 MB, free: 7.082 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.4169, allocations: 1.376 MB / 406.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.417, allocations: 20.8 kB / 406.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.417, allocations: 4 kB / 406.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001372/0.4183, allocations: 1.464 MB / 407.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.4205, allocations: 2.136 MB / 409.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4205, allocations: 0 / 409.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.4209, allocations: 107.1 kB / 409.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002996/0.4212, allocations: 72.25 kB / 410 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.4212, allocations: 18.11 kB / 410 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002257/0.4215, allocations: 0.5885 MB / 410.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4215, allocations: 0 / 410.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.4229, allocations: 1.316 MB / 411.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.423, allocations: 161.6 kB / 412 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.4231, allocations: 13.28 kB / 412.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.4234, allocations: 40.27 kB / 412.1 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.4235, allocations: 39.94 kB / 412.1 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.4235, allocations: 14.7 kB / 412.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.4237, allocations: 232.9 kB / 412.4 MB, free: 4.422 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4237, allocations: 0 / 412.4 MB, free: 4.422 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003077/0.4268, allocations: 0.8546 MB / 413.2 MB, free: 4.32 MB / 318.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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005267/0.4321, allocations: 2.73 MB / 416 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.4332, allocations: 0.6675 MB / 416.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4332, allocations: 4 kB / 416.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005613/0.4338, allocations: 427 kB / 417.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.4349, allocations: 190 kB / 417.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/0.4406, allocations: 3.165 MB / 420.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.4411, allocations: 0.8688 MB / 421.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004192/0.4415, allocations: 150 kB / 421.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.4417, allocations: 188.6 kB / 421.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4417, allocations: 0 / 421.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1232/0.5649, allocations: 40.98 MB / 462.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.5652, allocations: 233.1 kB / 462.8 MB, free: 5.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.19/4.755, allocations: 2.734 kB / 462.8 MB, free: 5.078 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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_ph_res.mat does not exist to compare? outputFormat=mat