Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007077/0.007077, allocations: 102.5 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 197 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.848/0.848, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.17 kB / 0.5808 GB, free: 24.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1358, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002241/0.1381, allocations: 1.252 MB / 0.6604 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003724/0.1418, allocations: 2.937 MB / 0.6633 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.1419, allocations: 4 kB / 0.6633 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.1419, allocations: 3.938 kB / 0.6633 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.262e-05/0.142, allocations: 7.969 kB / 0.6633 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.1424, allocations: 91.56 kB / 0.6634 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.253e-05/0.1425, allocations: 43.84 kB / 0.6634 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.1426, allocations: 3.984 kB / 0.6634 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004535/0.143, allocations: 163.5 kB / 0.6636 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.1431, allocations: 11.98 kB / 0.6636 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1431, allocations: 4 kB / 0.6636 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.1433, allocations: 63.88 kB / 0.6636 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.1433, allocations: 7.922 kB / 0.6636 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.1433, allocations: 23.86 kB / 0.6637 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1435, allocations: 60.14 kB / 0.6637 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1435, allocations: 0 / 0.6637 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1435, allocations: 0 / 0.6637 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.1436, allocations: 0 / 0.6637 GB, free: 6.098 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004321/0.144, allocations: 363.3 kB / 0.6641 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.144, allocations: 8.031 kB / 0.6641 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/0.1441, allocations: 30.75 kB / 0.6641 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.1441, allocations: 4.938 kB / 0.6641 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1442, allocations: 164.4 kB / 0.6643 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1443, allocations: 8.375 kB / 0.6643 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.1443, allocations: 4.375 kB / 0.6643 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1444, allocations: 57.55 kB / 0.6643 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1444, allocations: 0 / 0.6643 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1445, allocations: 8 kB / 0.6643 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1445, allocations: 0 / 0.6643 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.74e-05/0.1445, allocations: 19.97 kB / 0.6644 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.1447, allocations: 169.6 kB / 0.6645 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.507e-05/0.1448, allocations: 46.56 kB / 0.6646 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.1449, allocations: 20.84 kB / 0.6646 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007365/0.1456, allocations: 0.5946 MB / 0.6652 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1457, allocations: 38.5 kB / 0.6652 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.1457, allocations: 0 / 0.6652 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005913/0.1463, allocations: 310.5 kB / 0.6655 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.1463, allocations: 51.41 kB / 0.6656 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.1464, allocations: 105.8 kB / 0.6657 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1464, allocations: 25.7 kB / 0.6657 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.1465, allocations: 84.09 kB / 0.6658 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.1465, allocations: 31.73 kB / 0.6658 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.1466, allocations: 25.72 kB / 0.6658 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.1467, allocations: 318.8 kB / 0.6661 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-05/0.1467, allocations: 15.94 kB / 0.6661 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.95e-05/0.1468, allocations: 61.08 kB / 0.6662 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.54e-05/0.1469, allocations: 69.08 kB / 0.6663 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1469, allocations: 0 / 0.6663 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001444/0.1471, allocations: 93.55 kB / 0.6663 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.1471, allocations: 8 kB / 0.6664 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1471, allocations: 288 / 0.6664 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1471, allocations: 4 kB / 0.6664 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.1472, allocations: 24.42 kB / 0.6664 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1472, allocations: 3.938 kB / 0.6664 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/0.1473, allocations: 7.938 kB / 0.6664 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1473, allocations: 4 kB / 0.6664 GB, free: 2.941 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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 8.487e-05/0.1474, allocations: 118 kB / 0.6665 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.1474, allocations: 11.94 kB / 0.6665 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.1474, allocations: 7.969 kB / 0.6665 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1474, allocations: 4 kB / 0.6665 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1475, allocations: 0 / 0.6665 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1475, allocations: 3.938 kB / 0.6665 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.1477, allocations: 173.7 kB / 0.6667 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1477, allocations: 0 / 0.6667 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/0.1478, allocations: 19.92 kB / 0.6667 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1478, allocations: 4 kB / 0.6667 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1479, allocations: 4 kB / 0.6667 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1479, allocations: 0 / 0.6667 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1479, allocations: 0 / 0.6667 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.1481, allocations: 171.5 kB / 0.6669 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.1481, allocations: 85.06 kB / 0.667 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1481, allocations: 0 / 0.667 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1483, allocations: 12.03 kB / 0.667 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.1483, allocations: 11.88 kB / 0.667 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.1483, allocations: 7.938 kB / 0.667 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.063e-05/0.1483, allocations: 79.27 kB / 0.6671 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1483, allocations: 4 kB / 0.6671 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002385/0.1486, allocations: 12 kB / 0.6671 GB, free: 2.129 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.000494/0.1491, allocations: 0.7085 MB / 0.6678 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.1492, allocations: 44.14 kB / 0.6678 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1492, allocations: 0 / 0.6678 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.9e-05/0.1493, allocations: 19.92 kB / 0.6678 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.1495, allocations: 11.94 kB / 0.6679 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.151, allocations: 1.534 MB / 0.6694 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1514, allocations: 0.6846 MB / 0.67 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.547e-05/0.1514, allocations: 8 kB / 0.67 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.1515, allocations: 15.44 kB / 0.67 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1515, allocations: 0 / 0.67 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.1745, allocations: 1.649 MB / 0.6717 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.737, allocations: 18.25 kB / 0.6717 GB, free: 13.39 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)