Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001241/0.001241, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001244, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 247 MB, free: 10.42 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.2353/0.2353, allocations: 46.1 MB / 344.3 MB, free: 11.47 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.002268/0.002268, allocations: 79.86 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3912, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02034/0.4116, allocations: 16.53 MB / 0.5468 GB, free: 92 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00802/0.4196, allocations: 5.474 MB / 0.5521 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007393/0.4204, allocations: 19.38 kB / 0.5521 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009464/0.4214, allocations: 313.7 kB / 0.5524 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.4233, allocations: 0.8277 MB / 0.5532 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.4261, allocations: 1.007 MB / 0.5542 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.4284, allocations: 1.79 MB / 0.556 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006774/0.4291, allocations: 445.5 kB / 0.5564 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.4305, allocations: 0.7551 MB / 0.5571 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000931/0.4314, allocations: 0.6227 MB / 0.5577 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.4316, allocations: 60 kB / 0.5578 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009748/0.4325, allocations: 355.5 kB / 0.5581 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.4328, allocations: 263.3 kB / 0.5584 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004431/0.4333, allocations: 398.2 kB / 0.5588 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.435, allocations: 1.152 MB / 0.5599 GB, free: 3.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.435, allocations: 0 / 0.5599 GB, free: 3.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.435, allocations: 3.938 kB / 0.5599 GB, free: 3.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.435, allocations: 0 / 0.5599 GB, free: 3.695 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002074/0.4371, allocations: 1.063 MB / 0.5609 GB, free: 2.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4371, allocations: 12.02 kB / 0.5609 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.4373, allocations: 106.7 kB / 0.561 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/0.4376, allocations: 96.42 kB / 0.5611 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008281/0.4385, allocations: 0.5254 MB / 0.5616 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.4386, allocations: 101 kB / 0.5617 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.643e-05/0.4387, allocations: 52.11 kB / 0.5618 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.44, allocations: 0.8308 MB / 0.5626 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.44, allocations: 0 / 0.5626 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-05/0.4401, allocations: 27.98 kB / 0.5626 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.967e-05/0.4401, allocations: 40.92 kB / 0.5627 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.4412, allocations: 0.6478 MB / 0.5633 GB, free: 8 kB / 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.004718/0.4459, allocations: 4.349 MB / 0.5675 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006385/0.4466, allocations: 354.9 kB / 0.5679 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.4469, allocations: 173.3 kB / 0.5681 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001918/0.4488, allocations: 1.713 MB / 0.5697 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.4489, allocations: 30.56 kB / 0.5698 GB, free: 8.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.654e-06/0.4489, allocations: 0 / 0.5698 GB, free: 8.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=37): time 0.003535/0.4524, allocations: 1.414 MB / 0.5711 GB, free: 7.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/0.4525, allocations: 132.5 kB / 0.5713 GB, free: 7.195 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007513/0.4533, allocations: 0.629 MB / 0.5719 GB, free: 6.555 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.4533, allocations: 29.7 kB / 0.5719 GB, free: 6.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.4536, allocations: 411.4 kB / 0.5723 GB, free: 6.113 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.4537, allocations: 146.8 kB / 0.5724 GB, free: 5.969 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.4539, allocations: 146.5 kB / 0.5726 GB, free: 5.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.4541, allocations: 378.7 kB / 0.5729 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.4545, allocations: 185.9 kB / 0.5731 GB, free: 5.262 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.4551, allocations: 0.5637 MB / 0.5737 GB, free: 4.523 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009985/0.4561, allocations: 0.7766 MB / 0.5744 GB, free: 3.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-06/0.4561, allocations: 7.938 kB / 0.5744 GB, free: 3.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001434/0.4575, allocations: 0.8294 MB / 0.5752 GB, free: 2.734 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.4576, allocations: 12 kB / 0.5753 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.4576, allocations: 12 kB / 0.5753 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004404/0.4581, allocations: 101.5 kB / 0.5754 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.4587, allocations: 179.7 kB / 0.5755 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006407/0.4594, allocations: 0.6655 MB / 0.5762 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.4598, allocations: 31.98 kB / 0.5762 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.196e-05/0.4599, allocations: 40 kB / 0.5763 GB, free: 1.672 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003694/0.4603, allocations: 262.7 kB / 0.5765 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.4604, allocations: 71.53 kB / 0.5766 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008737/0.4613, allocations: 0.4996 MB / 0.5771 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4613, allocations: 4 kB / 0.5771 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4613, allocations: 0 / 0.5771 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4613, allocations: 3.984 kB / 0.5771 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.4632, allocations: 1.218 MB / 0.5783 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.4632, allocations: 7.984 kB / 0.5783 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.4635, allocations: 71.91 kB / 0.5783 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.4637, allocations: 36.83 kB / 0.5784 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.4637, allocations: 20.06 kB / 0.5784 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004153/0.4642, allocations: 0.5721 MB / 0.5789 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.4642, allocations: 4 kB / 0.5789 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.4652, allocations: 0.7261 MB / 0.5797 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.4655, allocations: 188.8 kB / 0.5798 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/0.4656, allocations: 15.94 kB / 0.5799 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.4659, allocations: 19.92 kB / 0.5799 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.466, allocations: 35.89 kB / 0.5799 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.466, allocations: 19.98 kB / 0.5799 GB, free: 13.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005978/0.4666, allocations: 479.1 kB / 0.5804 GB, free: 13.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4666, allocations: 0 / 0.5804 GB, free: 13.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007626/0.4674, allocations: 199.9 kB / 0.5806 GB, free: 13.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (volume.medium.T) * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001773/0.4692, allocations: 1.42 MB / 0.582 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.4703, allocations: 0.4937 MB / 0.5824 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.4703, allocations: 4.75 kB / 0.5824 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.4707, allocations: 188 kB / 0.5826 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.4724, allocations: 371.7 kB / 0.583 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00883/0.4812, allocations: 6.306 MB / 0.5891 GB, free: 3.711 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.4819, allocations: 0.9416 MB / 0.5901 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007053/0.4826, allocations: 204 kB / 0.5903 GB, free: 2.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.4829, allocations: 235.4 kB / 0.5905 GB, free: 2.316 MB / 446.1 MB Notification: Performance of SimCode: time 3.286e-06/0.4829, allocations: 0 / 0.5905 GB, free: 2.316 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05627/0.5392, allocations: 20.67 MB / 0.6107 GB, free: 13.97 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.98, allocations: 8.281 kB / 0.6107 GB, free: 13.96 MB / 478.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)