Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_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.001304/0.001304, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247 MB, free: 10.46 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.2283/0.2283, allocations: 46.12 MB / 344.3 MB, free: 11.48 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.002434/0.002434, allocations: 79.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3548, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007112/0.362, allocations: 5.031 MB / 0.5355 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005535/0.3676, allocations: 4.574 MB / 0.54 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.3678, allocations: 0 / 0.54 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.3682, allocations: 56.53 kB / 0.5401 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.3702, allocations: 0.6613 MB / 0.5407 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.3706, allocations: 164.5 kB / 0.5409 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006208/0.3712, allocations: 367 kB / 0.5412 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.684e-05/0.3713, allocations: 14.31 kB / 0.5412 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.3715, allocations: 153.2 kB / 0.5414 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.3718, allocations: 125.6 kB / 0.5415 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.3718, allocations: 11.09 kB / 0.5415 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.3729, allocations: 356.4 kB / 0.5418 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.591e-05/0.373, allocations: 38.73 kB / 0.5419 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.3732, allocations: 114.2 kB / 0.542 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008655/0.374, allocations: 431.9 kB / 0.5424 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3741, allocations: 0 / 0.5424 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3741, allocations: 5.062 kB / 0.5424 GB, free: 4.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.3741, allocations: 0 / 0.5424 GB, free: 4.117 MB / 398.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.001147/0.3752, allocations: 0.5972 MB / 0.543 GB, free: 3.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3753, allocations: 9.125 kB / 0.543 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.898e-05/0.3754, allocations: 64.31 kB / 0.5431 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.3755, allocations: 23.81 kB / 0.5431 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.3759, allocations: 238 kB / 0.5433 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.3761, allocations: 123 kB / 0.5434 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.3761, allocations: 26.81 kB / 0.5434 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.3766, allocations: 323.9 kB / 0.5438 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3767, allocations: 4 kB / 0.5438 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.3767, allocations: 7.438 kB / 0.5438 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.3767, allocations: 10.72 kB / 0.5438 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008631/0.3776, allocations: 0.7445 MB / 0.5445 GB, free: 2.531 MB / 398.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.001446/0.3791, allocations: 1.251 MB / 0.5457 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.3794, allocations: 148.9 kB / 0.5459 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.3796, allocations: 76.2 kB / 0.5459 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00251/0.3821, allocations: 2.656 MB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.3821, allocations: 44.67 kB / 0.5486 GB, free: 14.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.3822, allocations: 0 / 0.5486 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007027/0.3829, allocations: 225.6 kB / 0.5488 GB, free: 14.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3829, allocations: 53.97 kB / 0.5488 GB, free: 13.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.3831, allocations: 213.2 kB / 0.549 GB, free: 13.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.3832, allocations: 26.8 kB / 0.5491 GB, free: 13.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3833, allocations: 221.7 kB / 0.5493 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.3834, allocations: 55.14 kB / 0.5493 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3835, allocations: 87.31 kB / 0.5494 GB, free: 13.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3836, allocations: 327.5 kB / 0.5497 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/0.3837, allocations: 49.56 kB / 0.5498 GB, free: 13.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.384, allocations: 314.4 kB / 0.5501 GB, free: 12.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.3845, allocations: 414.2 kB / 0.5505 GB, free: 12.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3845, allocations: 4 kB / 0.5505 GB, free: 12.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005577/0.3851, allocations: 369.1 kB / 0.5508 GB, free: 11.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3851, allocations: 11.98 kB / 0.5508 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.3851, allocations: 8 kB / 0.5508 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.3851, allocations: 15.94 kB / 0.5509 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.3855, allocations: 116.5 kB / 0.551 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/0.3855, allocations: 23.92 kB / 0.551 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.3857, allocations: 12 kB / 0.551 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.3858, allocations: 31.98 kB / 0.551 GB, free: 11.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.3859, allocations: 149.5 kB / 0.5512 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.386, allocations: 19.91 kB / 0.5512 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.3864, allocations: 151 kB / 0.5513 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.3864, allocations: 7.922 kB / 0.5514 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3864, allocations: 0 / 0.5514 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3864, allocations: 4 kB / 0.5514 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005829/0.387, allocations: 443.2 kB / 0.5518 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.387, allocations: 3.938 kB / 0.5518 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.3872, allocations: 35.86 kB / 0.5518 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3872, allocations: 0 / 0.5518 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.3872, allocations: 8 kB / 0.5518 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3872, allocations: 0 / 0.5518 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3872, allocations: 0 / 0.5518 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.3875, allocations: 220.3 kB / 0.552 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.3876, allocations: 104.9 kB / 0.5521 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.3876, allocations: 4 kB / 0.5521 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.3878, allocations: 11.98 kB / 0.5521 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.3879, allocations: 7.938 kB / 0.5522 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.3879, allocations: 8.109 kB / 0.5522 GB, free: 10.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.388, allocations: 152.5 kB / 0.5523 GB, free: 10.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.388, allocations: 0 / 0.5523 GB, free: 10.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005243/0.3886, allocations: 99.86 kB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0008194/0.3894, allocations: 0.818 MB / 0.5532 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003597/0.3898, allocations: 188.9 kB / 0.5534 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3898, allocations: 0 / 0.5534 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.031e-05/0.3899, allocations: 35.92 kB / 0.5534 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.3903, allocations: 53.64 kB / 0.5535 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.3938, allocations: 2.716 MB / 0.5561 GB, free: 5.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.3942, allocations: 0.7245 MB / 0.5568 GB, free: 5.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002371/0.3945, allocations: 58.84 kB / 0.5569 GB, free: 5.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.3946, allocations: 63.41 kB / 0.5569 GB, free: 5.117 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3946, allocations: 3.938 kB / 0.5569 GB, free: 5.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.4235, allocations: 5.628 MB / 0.5624 GB, free: 15.63 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.407, allocations: 9.281 kB / 0.5625 GB, free: 15.63 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1)