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.001503/0.001503, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001743/0.001743, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2351/0.2351, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002393/0.002393, allocations: 76.78 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1241, allocations: 62.44 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007416/0.1316, allocations: 4.596 MB / 484.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005059/0.1367, allocations: 4.01 MB / 488.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1369, allocations: 0 / 488.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.1373, allocations: 55.59 kB / 488.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.1395, allocations: 0.7344 MB / 489.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.1399, allocations: 133 kB / 489.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006186/0.1405, allocations: 374.1 kB / 490.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.1406, allocations: 13.67 kB / 490.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.1408, allocations: 147.5 kB / 490.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.1411, allocations: 143.4 kB / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.1412, allocations: 8 kB / 490.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.1423, allocations: 431.5 kB / 490.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1424, allocations: 47.75 kB / 490.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.1426, allocations: 99.53 kB / 491 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008843/0.1435, allocations: 475 kB / 491.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1435, allocations: 4 kB / 491.4 MB, free: 9.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1435, allocations: 0 / 491.4 MB, free: 9.867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1435, allocations: 0 / 491.4 MB, free: 9.867 MB / 366.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.001217/0.1447, allocations: 0.5931 MB / 492 MB, free: 9.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1448, allocations: 12.03 kB / 492 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.005e-05/0.1449, allocations: 54.73 kB / 492.1 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.145, allocations: 28.75 kB / 492.1 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1453, allocations: 228 kB / 492.3 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.1455, allocations: 119.9 kB / 492.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.1455, allocations: 24.12 kB / 492.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.1461, allocations: 327.6 kB / 492.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1461, allocations: 7.969 kB / 492.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.1461, allocations: 15.98 kB / 492.8 MB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.1462, allocations: 8 kB / 492.8 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009135/0.1471, allocations: 0.7313 MB / 493.6 MB, free: 7.586 MB / 366.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.001623/0.1487, allocations: 1.304 MB / 494.9 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.1491, allocations: 167.7 kB / 495 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.1493, allocations: 85.48 kB / 495.1 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003007/0.1523, allocations: 2.81 MB / 497.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.1523, allocations: 42.5 kB / 498 MB, free: 2.516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.264e-06/0.1524, allocations: 0 / 498 MB, free: 2.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000331/0.1527, allocations: 117.3 kB / 498.1 MB, free: 2.395 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.1528, allocations: 51.41 kB / 498.1 MB, free: 2.332 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.153, allocations: 223.9 kB / 498.3 MB, free: 2.105 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.153, allocations: 29.7 kB / 498.4 MB, free: 2.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1532, allocations: 214.6 kB / 498.6 MB, free: 1.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.1532, allocations: 43.39 kB / 498.6 MB, free: 1.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.1534, allocations: 93.94 kB / 498.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1536, allocations: 326.8 kB / 499 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.533e-05/0.1537, allocations: 48.83 kB / 499.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.154, allocations: 343.2 kB / 499.4 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.1545, allocations: 444.6 kB / 499.9 MB, free: 280 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.1545, allocations: 3.938 kB / 499.9 MB, free: 276 kB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006106/0.1552, allocations: 385.7 kB / 0.4885 GB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1552, allocations: 8 kB / 0.4885 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.1552, allocations: 12.09 kB / 0.4885 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.1552, allocations: 23.88 kB / 0.4886 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.1555, allocations: 99.83 kB / 0.4887 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.1555, allocations: 23.86 kB / 0.4887 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.1558, allocations: 55.44 kB / 0.4887 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.1558, allocations: 28 kB / 0.4888 GB, free: 15.64 MB / 382.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.0001423/0.156, allocations: 149.6 kB / 0.4889 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.156, allocations: 19.8 kB / 0.4889 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.1563, allocations: 144.4 kB / 0.4891 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.1564, allocations: 4 kB / 0.4891 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1564, allocations: 0 / 0.4891 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1564, allocations: 4 kB / 0.4891 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005352/0.1569, allocations: 412.8 kB / 0.4895 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.157, allocations: 4 kB / 0.4895 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.157, allocations: 12 kB / 0.4895 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.157, allocations: 4 kB / 0.4895 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.157, allocations: 0 / 0.4895 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.1571, allocations: 8.062 kB / 0.4895 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.1571, allocations: 4.094 kB / 0.4895 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.1573, allocations: 201.8 kB / 0.4897 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1574, allocations: 100.8 kB / 0.4898 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.1574, allocations: 4 kB / 0.4898 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1576, allocations: 4 kB / 0.4898 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.1576, allocations: 15.92 kB / 0.4898 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.1576, allocations: 4 kB / 0.4898 GB, free: 14.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1578, allocations: 156.5 kB / 0.4899 GB, free: 14.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1578, allocations: 0 / 0.4899 GB, free: 14.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005596/0.1583, allocations: 91.94 kB / 0.49 GB, free: 14.2 MB / 382.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.000811/0.1592, allocations: 0.8085 MB / 0.4908 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.1595, allocations: 170.3 kB / 0.491 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1595, allocations: 0 / 0.491 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.695e-05/0.1596, allocations: 27.92 kB / 0.491 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.16, allocations: 53.52 kB / 0.4911 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.1638, allocations: 2.787 MB / 0.4938 GB, free: 9.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.1643, allocations: 0.7285 MB / 0.4945 GB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000265/0.1645, allocations: 50.78 kB / 0.4945 GB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.1646, allocations: 63.41 kB / 0.4946 GB, free: 9.078 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.1647, allocations: 0 / 0.4946 GB, free: 9.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.1947, allocations: 5.161 MB / 0.4996 GB, free: 4.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.319, allocations: 7.875 kB / 0.4997 GB, free: 4.035 MB / 382.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)