Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001886/0.001886, allocations: 118.8 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.002066/0.002066, allocations: 197.2 kB / 18.73 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.408/1.408, allocations: 227.4 MB / 247 MB, free: 10.4 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.2656/0.2656, allocations: 46.11 MB / 344.3 MB, free: 11.44 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.002189/0.002189, allocations: 75.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3583, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006265/0.3646, allocations: 4.605 MB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004796/0.3694, allocations: 4.006 MB / 0.539 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.3696, allocations: 1.375 kB / 0.539 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.37, allocations: 59.58 kB / 0.5391 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.3721, allocations: 0.7271 MB / 0.5398 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.3724, allocations: 130.8 kB / 0.5399 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005811/0.373, allocations: 378.1 kB / 0.5403 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.206e-05/0.3731, allocations: 15.2 kB / 0.5403 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.3733, allocations: 144 kB / 0.5404 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.3736, allocations: 147.8 kB / 0.5406 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.3736, allocations: 12 kB / 0.5406 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.3747, allocations: 423.7 kB / 0.541 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.582e-05/0.3748, allocations: 47.56 kB / 0.5411 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.3749, allocations: 98.41 kB / 0.5411 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008342/0.3758, allocations: 474.8 kB / 0.5416 GB, free: 4.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3758, allocations: 0 / 0.5416 GB, free: 4.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3758, allocations: 5.125 kB / 0.5416 GB, free: 4.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3758, allocations: 0 / 0.5416 GB, free: 4.793 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.001205/0.377, allocations: 0.6047 MB / 0.5422 GB, free: 4.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3771, allocations: 9.75 kB / 0.5422 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.354e-05/0.3772, allocations: 59.48 kB / 0.5423 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.3773, allocations: 28.94 kB / 0.5423 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.3777, allocations: 231.6 kB / 0.5425 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.3778, allocations: 132.2 kB / 0.5426 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.3779, allocations: 26.62 kB / 0.5427 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.3784, allocations: 321.9 kB / 0.543 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3784, allocations: 1.062 kB / 0.543 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.3785, allocations: 11.28 kB / 0.543 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.3785, allocations: 7.281 kB / 0.543 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008605/0.3794, allocations: 0.7347 MB / 0.5437 GB, free: 3.211 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.001474/0.3808, allocations: 1.305 MB / 0.545 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.3812, allocations: 168.5 kB / 0.5451 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.3814, allocations: 86.53 kB / 0.5452 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002744/0.3841, allocations: 2.81 MB / 0.548 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.3842, allocations: 31.81 kB / 0.548 GB, free: 14.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 4.248e-06/0.3842, allocations: 4 kB / 0.548 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003005/0.3845, allocations: 128 kB / 0.5481 GB, free: 14.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.3845, allocations: 52.5 kB / 0.5482 GB, free: 14.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.3847, allocations: 227 kB / 0.5484 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3848, allocations: 26.83 kB / 0.5484 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3849, allocations: 225.5 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.385, allocations: 51.09 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.85e-05/0.3851, allocations: 79.58 kB / 0.5488 GB, free: 13.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3853, allocations: 333.8 kB / 0.5491 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.3853, allocations: 49.34 kB / 0.5491 GB, free: 13.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.3857, allocations: 348.8 kB / 0.5495 GB, free: 13.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.3862, allocations: 442.6 kB / 0.5499 GB, free: 12.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.3862, allocations: 3.531 kB / 0.5499 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005851/0.3868, allocations: 387.2 kB / 0.5502 GB, free: 12.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3868, allocations: 12 kB / 0.5503 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.3868, allocations: 11.98 kB / 0.5503 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.3869, allocations: 19.94 kB / 0.5503 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.3871, allocations: 96.5 kB / 0.5504 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.458e-05/0.3872, allocations: 27.92 kB / 0.5504 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.3874, allocations: 51.56 kB / 0.5505 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.3875, allocations: 32 kB / 0.5505 GB, free: 12.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001419/0.3876, allocations: 149.6 kB / 0.5506 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.3877, allocations: 19.91 kB / 0.5506 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.3879, allocations: 144.4 kB / 0.5508 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.388, allocations: 4 kB / 0.5508 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.388, allocations: 0 / 0.5508 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.388, allocations: 0 / 0.5508 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.3885, allocations: 416.9 kB / 0.5512 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3885, allocations: 0 / 0.5512 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.3886, allocations: 12 kB / 0.5512 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3886, allocations: 0 / 0.5512 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3886, allocations: 4 kB / 0.5512 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3886, allocations: 0 / 0.5512 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3886, allocations: 0 / 0.5512 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.3888, allocations: 217.9 kB / 0.5514 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.3889, allocations: 96.94 kB / 0.5515 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.389, allocations: 7.953 kB / 0.5515 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3891, allocations: 4 kB / 0.5515 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.3891, allocations: 15.92 kB / 0.5515 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.3891, allocations: 8.062 kB / 0.5515 GB, free: 11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.3893, allocations: 152.5 kB / 0.5517 GB, free: 10.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3893, allocations: 7.938 kB / 0.5517 GB, free: 10.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005006/0.3898, allocations: 91.88 kB / 0.5518 GB, free: 10.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0007001/0.3905, allocations: 0.7968 MB / 0.5526 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.3909, allocations: 178 kB / 0.5527 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3909, allocations: 0 / 0.5527 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.3909, allocations: 19.92 kB / 0.5527 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.3913, allocations: 44.34 kB / 0.5528 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.3946, allocations: 2.8 MB / 0.5555 GB, free: 6.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.395, allocations: 0.7245 MB / 0.5562 GB, free: 5.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.3951, allocations: 50.84 kB / 0.5563 GB, free: 5.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.874e-05/0.3952, allocations: 63.41 kB / 0.5563 GB, free: 5.633 MB / 414.1 MB Notification: Performance of SimCode: time 2.164e-06/0.3952, allocations: 0 / 0.5563 GB, free: 5.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.4227, allocations: 5.239 MB / 0.5615 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.579, allocations: 10.44 kB / 0.5615 GB, free: 0.5312 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_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_LinearColdWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1)