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.002019/0.002019, allocations: 105 kB / 19.74 MB, free: 2.453 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.002162/0.002162, allocations: 217.9 kB / 22.92 MB, free: 5.195 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.294/1.294, allocations: 230.2 MB / 256.2 MB, free: 8.598 MB / 206.1 MB " [Timeout remaining time 179] 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.1998/0.1998, allocations: 46.88 MB / 359.3 MB, free: 4.969 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.002115/0.002115, allocations: 79.86 kB / 0.494 GB, free: 9.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2579, allocations: 65.98 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00571/0.2636, allocations: 4.651 MB / 0.563 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004228/0.2679, allocations: 4.033 MB / 0.5669 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.2679, allocations: 0 / 0.5669 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.2682, allocations: 59.61 kB / 0.567 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.2696, allocations: 0.7305 MB / 0.5677 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.2699, allocations: 134.7 kB / 0.5678 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004876/0.2704, allocations: 370.1 kB / 0.5682 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.2704, allocations: 13.67 kB / 0.5682 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.2706, allocations: 139.5 kB / 0.5683 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.2709, allocations: 151.4 kB / 0.5685 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.2709, allocations: 12 kB / 0.5685 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007834/0.2717, allocations: 443.4 kB / 0.5689 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.2717, allocations: 43.83 kB / 0.5689 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.2718, allocations: 103.5 kB / 0.569 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006555/0.2725, allocations: 480.3 kB / 0.5695 GB, free: 9.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2725, allocations: 0 / 0.5695 GB, free: 9.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2725, allocations: 0 / 0.5695 GB, free: 9.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.2725, allocations: 0 / 0.5695 GB, free: 9.828 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.00105/0.2736, allocations: 0.6062 MB / 0.5701 GB, free: 9.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.2736, allocations: 8.031 kB / 0.5701 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.191e-05/0.2736, allocations: 62.72 kB / 0.5702 GB, free: 9.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.2738, allocations: 24.84 kB / 0.5702 GB, free: 9.074 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.2741, allocations: 236 kB / 0.5704 GB, free: 8.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.2742, allocations: 123.9 kB / 0.5705 GB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.2742, allocations: 28.06 kB / 0.5706 GB, free: 8.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.2747, allocations: 319.6 kB / 0.5709 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2747, allocations: 8 kB / 0.5709 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.2747, allocations: 12 kB / 0.5709 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.2748, allocations: 4 kB / 0.5709 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000767/0.2755, allocations: 0.7352 MB / 0.5716 GB, free: 7.531 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.001291/0.2768, allocations: 1.304 MB / 0.5729 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.2771, allocations: 159.7 kB / 0.573 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.2773, allocations: 77.48 kB / 0.5731 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/0.2797, allocations: 2.81 MB / 0.5758 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.2797, allocations: 38.5 kB / 0.5759 GB, free: 2.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.2797, allocations: 0 / 0.5759 GB, free: 2.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000269/0.28, allocations: 125.7 kB / 0.576 GB, free: 2.352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.28, allocations: 59.39 kB / 0.5761 GB, free: 2.281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.2802, allocations: 224.6 kB / 0.5763 GB, free: 2.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.2802, allocations: 25.7 kB / 0.5763 GB, free: 2.023 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.2803, allocations: 227.4 kB / 0.5765 GB, free: 1.797 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.2804, allocations: 39.64 kB / 0.5765 GB, free: 1.758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.984e-05/0.2805, allocations: 86.08 kB / 0.5766 GB, free: 1.668 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2806, allocations: 326.8 kB / 0.5769 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.2807, allocations: 44.84 kB / 0.577 GB, free: 1.293 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.281, allocations: 355.2 kB / 0.5773 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.2814, allocations: 440.6 kB / 0.5777 GB, free: 228 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2814, allocations: 0 / 0.5777 GB, free: 228 kB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005586/0.2819, allocations: 393.7 kB / 0.5781 GB, free: 15.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2819, allocations: 8 kB / 0.5781 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.282, allocations: 12 kB / 0.5781 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.282, allocations: 15.75 kB / 0.5782 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.2822, allocations: 99.83 kB / 0.5782 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.2822, allocations: 23.86 kB / 0.5783 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.2825, allocations: 55.56 kB / 0.5783 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.2825, allocations: 28.41 kB / 0.5784 GB, free: 15.59 MB / 430.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.0001169/0.2826, allocations: 157.6 kB / 0.5785 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.2826, allocations: 19.91 kB / 0.5785 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.2829, allocations: 148.5 kB / 0.5787 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.2829, allocations: 0 / 0.5787 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2829, allocations: 4 kB / 0.5787 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.2829, allocations: 0 / 0.5787 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.2833, allocations: 401 kB / 0.579 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2833, allocations: 7.938 kB / 0.5791 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.2834, allocations: 12.08 kB / 0.5791 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2834, allocations: 8 kB / 0.5791 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.2834, allocations: 0 / 0.5791 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2834, allocations: 4 kB / 0.5791 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2834, allocations: 0 / 0.5791 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.2836, allocations: 209.8 kB / 0.5793 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.2837, allocations: 104.9 kB / 0.5794 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.2837, allocations: 15.92 kB / 0.5794 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.2838, allocations: 0 / 0.5794 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.2839, allocations: 7.984 kB / 0.5794 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.2839, allocations: 15.97 kB / 0.5794 GB, free: 14.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.284, allocations: 152.5 kB / 0.5796 GB, free: 14.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.284, allocations: 0 / 0.5796 GB, free: 14.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.2844, allocations: 95.88 kB / 0.5797 GB, free: 14.12 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.0005889/0.285, allocations: 0.7889 MB / 0.5804 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.2853, allocations: 162.3 kB / 0.5806 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2853, allocations: 8.25 kB / 0.5806 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.2853, allocations: 27.98 kB / 0.5806 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.2857, allocations: 40.41 kB / 0.5807 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.2885, allocations: 2.807 MB / 0.5834 GB, free: 9.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.2888, allocations: 0.7284 MB / 0.5841 GB, free: 9.117 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.2889, allocations: 54.92 kB / 0.5842 GB, free: 9.062 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.754e-05/0.289, allocations: 59.42 kB / 0.5842 GB, free: 9.004 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.289, allocations: 0 / 0.5842 GB, free: 9.004 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.3146, allocations: 5.244 MB / 0.5893 GB, free: 3.848 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/7.542, allocations: 3.859 kB / 0.5893 GB, free: 3.844 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: 10.093330303003313]