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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001603/0.001603, allocations: 213.7 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.5 MB / 258.2 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2289/0.2289, allocations: 46.93 MB / 361.6 MB, free: 4.223 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.00231/0.00231, allocations: 75.88 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3549, allocations: 66.07 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006027/0.3609, allocations: 4.649 MB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004398/0.3653, allocations: 4.041 MB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.338e-05/0.3654, allocations: 0 / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.3656, allocations: 55.61 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.3674, allocations: 0.7422 MB / 0.5708 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.3677, allocations: 135 kB / 0.5709 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005971/0.3683, allocations: 382.1 kB / 0.5713 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.3684, allocations: 13.8 kB / 0.5713 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.3686, allocations: 147.5 kB / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.3689, allocations: 151.4 kB / 0.5716 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.3689, allocations: 8 kB / 0.5716 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.3701, allocations: 443.4 kB / 0.572 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.637e-05/0.3702, allocations: 43.88 kB / 0.5721 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.3703, allocations: 107.5 kB / 0.5722 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007983/0.3711, allocations: 480.5 kB / 0.5726 GB, free: 8.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3711, allocations: 0 / 0.5726 GB, free: 8.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3712, allocations: 0 / 0.5726 GB, free: 8.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3712, allocations: 0 / 0.5726 GB, free: 8.918 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001121/0.3723, allocations: 0.5324 MB / 0.5731 GB, free: 8.355 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3723, allocations: 8.031 kB / 0.5732 GB, free: 8.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.34e-05/0.3724, allocations: 62.72 kB / 0.5732 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.3725, allocations: 24.84 kB / 0.5732 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.3729, allocations: 166.2 kB / 0.5734 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.373, allocations: 226.7 kB / 0.5736 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.3731, allocations: 32.06 kB / 0.5736 GB, free: 7.762 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.3736, allocations: 334.9 kB / 0.574 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3736, allocations: 7.875 kB / 0.574 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.3736, allocations: 8 kB / 0.574 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.3737, allocations: 8 kB / 0.574 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008736/0.3745, allocations: 0.7586 MB / 0.5747 GB, free: 6.625 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.001467/0.376, allocations: 1.276 MB / 0.576 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.3764, allocations: 155.7 kB / 0.5761 GB, free: 5.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.3765, allocations: 77.48 kB / 0.5762 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/0.378, allocations: 0.7388 MB / 0.5769 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.378, allocations: 34.56 kB / 0.5769 GB, free: 4.199 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.378, allocations: 0 / 0.5769 GB, free: 4.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002921/0.3783, allocations: 121.4 kB / 0.5771 GB, free: 4.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.3784, allocations: 59.28 kB / 0.5771 GB, free: 4.004 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.3786, allocations: 226 kB / 0.5773 GB, free: 3.777 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.3786, allocations: 29.7 kB / 0.5774 GB, free: 3.742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.3788, allocations: 219.5 kB / 0.5776 GB, free: 3.523 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.3788, allocations: 55.58 kB / 0.5776 GB, free: 3.469 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.3789, allocations: 82.08 kB / 0.5777 GB, free: 3.383 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3791, allocations: 330.8 kB / 0.578 GB, free: 3.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/0.3791, allocations: 48.84 kB / 0.5781 GB, free: 3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.3795, allocations: 339.2 kB / 0.5784 GB, free: 2.527 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.38, allocations: 452.5 kB / 0.5788 GB, free: 1.938 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.38, allocations: 4 kB / 0.5788 GB, free: 1.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005584/0.3805, allocations: 385.7 kB / 0.5792 GB, free: 1.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3805, allocations: 12.19 kB / 0.5792 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.3806, allocations: 12 kB / 0.5792 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/0.3806, allocations: 19.94 kB / 0.5792 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.3808, allocations: 95.83 kB / 0.5793 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/0.3809, allocations: 19.94 kB / 0.5793 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.3811, allocations: 51.62 kB / 0.5794 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.3811, allocations: 31.98 kB / 0.5794 GB, free: 1.312 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.0001427/0.3813, allocations: 158.4 kB / 0.5796 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.3813, allocations: 15.91 kB / 0.5796 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.3816, allocations: 144.5 kB / 0.5797 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.3816, allocations: 4 kB / 0.5797 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3816, allocations: 0 / 0.5797 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3816, allocations: 3.984 kB / 0.5797 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.382, allocations: 380 kB / 0.5801 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.382, allocations: 0 / 0.5801 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.3821, allocations: 15.94 kB / 0.5801 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3821, allocations: 0 / 0.5801 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3821, allocations: 4 kB / 0.5801 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3821, allocations: 0 / 0.5801 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3821, allocations: 0 / 0.5801 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.3823, allocations: 213.9 kB / 0.5803 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.3824, allocations: 23.81 kB / 0.5803 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.3824, allocations: 11.95 kB / 0.5804 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.3825, allocations: 7.938 kB / 0.5804 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.3826, allocations: 12.05 kB / 0.5804 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.3826, allocations: 8 kB / 0.5804 GB, free: 228 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3827, allocations: 156.5 kB / 0.5805 GB, free: 68 kB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3827, allocations: 0 / 0.5805 GB, free: 68 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004753/0.3832, allocations: 91.92 kB / 0.5806 GB, free: 15.97 MB / 430.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.0007126/0.3839, allocations: 0.8045 MB / 0.5814 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002998/0.3842, allocations: 164.6 kB / 0.5816 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3842, allocations: 1.812 kB / 0.5816 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.832e-05/0.3842, allocations: 23.92 kB / 0.5816 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.3846, allocations: 44.59 kB / 0.5816 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.3878, allocations: 2.803 MB / 0.5844 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3882, allocations: 0.7284 MB / 0.5851 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.3884, allocations: 51.22 kB / 0.5851 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.526e-05/0.3884, allocations: 63.41 kB / 0.5852 GB, free: 10.85 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3884, allocations: 0 / 0.5852 GB, free: 10.85 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.4162, allocations: 5.46 MB / 0.5905 GB, free: 5.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.293, allocations: 4 kB / 0.5905 GB, free: 5.473 MB / 430.1 MB " [Timeout remaining time 652] (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 1.9988e-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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.325355554930866] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'ddpT', 'ddTp', 'dddX[1]', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is', 'eps'] 8.36598288686946 8.393948932 8.017209244 Calling exit ...