Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.005185/0.005185, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001361/0.001361, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8425/0.8425, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.53 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1554, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002574/0.158, allocations: 1.255 MB / 0.6604 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.1596, allocations: 0.8733 MB / 0.6613 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.1597, allocations: 0 / 0.6613 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.1597, allocations: 0 / 0.6613 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.89e-05/0.1598, allocations: 3.938 kB / 0.6613 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006881/0.1605, allocations: 211 kB / 0.6615 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.062e-05/0.1606, allocations: 15.94 kB / 0.6615 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.1606, allocations: 3.984 kB / 0.6615 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.609e-05/0.1607, allocations: 7.938 kB / 0.6615 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.222e-05/0.1607, allocations: 7.984 kB / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1607, allocations: 0 / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.1611, allocations: 235.7 kB / 0.6617 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.1612, allocations: 8 kB / 0.6617 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.1612, allocations: 11.92 kB / 0.6618 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1615, allocations: 151.6 kB / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1615, allocations: 0 / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.027e-06/0.1615, allocations: 0 / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1615, allocations: 3.938 kB / 0.6619 GB, free: 7.988 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000513/0.162, allocations: 359.2 kB / 0.6622 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1621, allocations: 8.031 kB / 0.6623 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.1621, allocations: 42.67 kB / 0.6623 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.1623, allocations: 12.89 kB / 0.6623 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.1625, allocations: 168.4 kB / 0.6625 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.1625, allocations: 384 / 0.6625 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1625, allocations: 7.938 kB / 0.6625 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1627, allocations: 41.69 kB / 0.6625 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1627, allocations: 0 / 0.6625 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1627, allocations: 0 / 0.6625 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1627, allocations: 3.938 kB / 0.6625 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.113e-05/0.1628, allocations: 19.98 kB / 0.6625 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.163, allocations: 161.7 kB / 0.6627 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009305/0.164, allocations: 130.5 kB / 0.6628 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.621e-05/0.164, allocations: 16.86 kB / 0.6628 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.1642, allocations: 85.09 kB / 0.6629 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.1642, allocations: 34.56 kB / 0.6629 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1642, allocations: 0 / 0.6629 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002049/0.1644, allocations: 65.62 kB / 0.663 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1645, allocations: 55.41 kB / 0.6631 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.1646, allocations: 89.86 kB / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1646, allocations: 29.69 kB / 0.6632 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.1646, allocations: 80.14 kB / 0.6633 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.1647, allocations: 27.95 kB / 0.6633 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.1647, allocations: 17.72 kB / 0.6633 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.1649, allocations: 314.8 kB / 0.6636 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.1649, allocations: 7.984 kB / 0.6636 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.039e-05/0.1649, allocations: 8 kB / 0.6636 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.719e-05/0.165, allocations: 28.8 kB / 0.6636 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.165, allocations: 0 / 0.6636 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.1651, allocations: 61.94 kB / 0.6637 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1651, allocations: 7.984 kB / 0.6637 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1652, allocations: 4 kB / 0.6637 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1652, allocations: 0 / 0.6637 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.218e-05/0.1652, allocations: 8 kB / 0.6637 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1653, allocations: 0 / 0.6637 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.1653, allocations: 0 / 0.6637 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1653, allocations: 4 kB / 0.6637 GB, free: 5.875 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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 0.0001012/0.1654, allocations: 113.8 kB / 0.6638 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.1654, allocations: 3.953 kB / 0.6638 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.1657, allocations: 89.03 kB / 0.6639 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1657, allocations: 0 / 0.6639 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1658, allocations: 0 / 0.6639 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1658, allocations: 0 / 0.6639 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.1659, allocations: 165.6 kB / 0.6641 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1659, allocations: 0 / 0.6641 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.166, allocations: 12 kB / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.166, allocations: 0 / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.166, allocations: 0 / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.166, allocations: 0 / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.166, allocations: 4.062 kB / 0.6641 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.1662, allocations: 89 kB / 0.6642 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.1663, allocations: 89.05 kB / 0.6643 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.1663, allocations: 0 / 0.6643 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.1663, allocations: 4 kB / 0.6643 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.1664, allocations: 11.98 kB / 0.6643 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.1664, allocations: 0 / 0.6643 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.179e-05/0.1665, allocations: 75.28 kB / 0.6643 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1665, allocations: 0 / 0.6643 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002879/0.1668, allocations: 47.88 kB / 0.6644 GB, free: 5.074 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0007732/0.1675, allocations: 0.6935 MB / 0.6651 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.1677, allocations: 27.98 kB / 0.6651 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1677, allocations: 0 / 0.6651 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/0.1677, allocations: 19.98 kB / 0.6651 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.1679, allocations: 4 kB / 0.6651 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005067/0.1684, allocations: 176 kB / 0.6653 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1688, allocations: 0.6768 MB / 0.6659 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.631e-05/0.1688, allocations: 15.92 kB / 0.666 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.1689, allocations: 15.44 kB / 0.666 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1689, allocations: 0 / 0.666 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.1917, allocations: 1.969 MB / 0.6679 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.308, allocations: 3.328 kB / 0.6679 GB, free: 1.535 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)