Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0018/0.0018, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001938/0.001939, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2257/0.2257, allocations: 46.12 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 79.88 kB / 480.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3319, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01708/0.349, allocations: 12.49 MB / 0.5428 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.3507, allocations: 1.4 MB / 0.5441 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.3507, allocations: 0 / 0.5441 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.351, allocations: 34.89 kB / 0.5442 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006835/0.3578, allocations: 2.233 MB / 0.5464 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.332e-06/0.3578, allocations: 0 / 0.5464 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3579, allocations: 40.14 kB / 0.5464 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.358, allocations: 6.156 kB / 0.5464 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.663e-05/0.3581, allocations: 16.98 kB / 0.5464 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.3582, allocations: 18.98 kB / 0.5464 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.3582, allocations: 1.031 kB / 0.5464 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007821/0.366, allocations: 3.843 MB / 0.5502 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.3661, allocations: 0 / 0.5502 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.3661, allocations: 23.91 kB / 0.5502 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00417/0.3703, allocations: 1.976 MB / 0.5521 GB, free: 11.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3703, allocations: 0 / 0.5521 GB, free: 11.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3703, allocations: 4 kB / 0.5521 GB, free: 11.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3703, allocations: 0 / 0.5521 GB, free: 11.64 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0012/0.3716, allocations: 0.5681 MB / 0.5527 GB, free: 11.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3716, allocations: 12.03 kB / 0.5527 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.3716, allocations: 30.75 kB / 0.5527 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.3718, allocations: 16.88 kB / 0.5528 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3719, allocations: 160.4 kB / 0.5529 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.372, allocations: 12.25 kB / 0.5529 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.372, allocations: 4.375 kB / 0.5529 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.3722, allocations: 95.3 kB / 0.553 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3723, allocations: 0 / 0.553 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.3723, allocations: 0 / 0.553 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3723, allocations: 4 kB / 0.553 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.3725, allocations: 47.89 kB / 0.5531 GB, free: 10.59 MB / 414.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.0005192/0.373, allocations: 369 kB / 0.5534 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.3732, allocations: 50.55 kB / 0.5535 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.3732, allocations: 16.94 kB / 0.5535 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02194/0.3952, allocations: 10.42 MB / 0.5637 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.3952, allocations: 34.56 kB / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 3.727e-06/0.3953, allocations: 0 / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004449/0.3957, allocations: 101.6 kB / 0.5638 GB, free: 14.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.3958, allocations: 59.39 kB / 0.5638 GB, free: 14.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/0.3959, allocations: 97.86 kB / 0.5639 GB, free: 14.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3959, allocations: 25.7 kB / 0.564 GB, free: 14.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.3959, allocations: 88.09 kB / 0.564 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.396, allocations: 23.83 kB / 0.5641 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.396, allocations: 17.72 kB / 0.5641 GB, free: 14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3962, allocations: 314.8 kB / 0.5644 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.3962, allocations: 11.98 kB / 0.5644 GB, free: 13.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.684e-05/0.3963, allocations: 30.52 kB / 0.5644 GB, free: 13.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.518e-05/0.3963, allocations: 46.88 kB / 0.5645 GB, free: 13.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3963, allocations: 0 / 0.5645 GB, free: 13.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001092/0.3964, allocations: 61.73 kB / 0.5645 GB, free: 13.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3965, allocations: 8 kB / 0.5645 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3965, allocations: 7.984 kB / 0.5645 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3965, allocations: 0 / 0.5645 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.3966, allocations: 12 kB / 0.5646 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.3966, allocations: 7.938 kB / 0.5646 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.3966, allocations: 11.88 kB / 0.5646 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3967, allocations: 8.062 kB / 0.5646 GB, free: 13.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.401e-05/0.3967, allocations: 109.8 kB / 0.5647 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.3968, allocations: 4 kB / 0.5647 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.3973, allocations: 371.8 kB / 0.565 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.3973, allocations: 3.984 kB / 0.565 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3973, allocations: 4 kB / 0.5651 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3973, allocations: 3.938 kB / 0.5651 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.3976, allocations: 282.2 kB / 0.5653 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3976, allocations: 4 kB / 0.5653 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.3977, allocations: 15.92 kB / 0.5653 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3977, allocations: 3.938 kB / 0.5653 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.3977, allocations: 0 / 0.5653 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3977, allocations: 0 / 0.5653 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3977, allocations: 0 / 0.5653 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.398, allocations: 285.7 kB / 0.5656 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.398, allocations: 92.95 kB / 0.5657 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.3981, allocations: 4 kB / 0.5657 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.3981, allocations: 4 kB / 0.5657 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.3981, allocations: 3.984 kB / 0.5657 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3981, allocations: 7.938 kB / 0.5657 GB, free: 12.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.894e-05/0.3982, allocations: 79.28 kB / 0.5658 GB, free: 12.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3982, allocations: 0 / 0.5658 GB, free: 12.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001193/0.3994, allocations: 447.3 kB / 0.5662 GB, free: 11.67 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002275/0.4017, allocations: 1.285 MB / 0.5675 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.4019, allocations: 91.83 kB / 0.5676 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.4019, allocations: 128 / 0.5676 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.88e-05/0.402, allocations: 83.98 kB / 0.5677 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.4023, allocations: 19.92 kB / 0.5677 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.4034, allocations: 473.2 kB / 0.5681 GB, free: 9.656 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.4037, allocations: 0.7086 MB / 0.5688 GB, free: 8.922 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.56e-05/0.4038, allocations: 23.97 kB / 0.5688 GB, free: 8.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.4039, allocations: 31.42 kB / 0.5689 GB, free: 8.867 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4039, allocations: 0 / 0.5689 GB, free: 8.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04298/0.4469, allocations: 15.64 MB / 0.5841 GB, free: 9.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.51/8.957, allocations: 12.16 kB / 0.5841 GB, free: 9.312 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1)