Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.006542/0.006542, allocations: 103.8 kB / 15.73 MB, free: 6.043 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.001237/0.001237, allocations: 189 kB / 16.67 MB, free: 5.961 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8294/0.8294, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 58.12 kB / 0.5851 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1658, allocations: 80.92 MB / 0.6641 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002742/0.1685, allocations: 1.492 MB / 0.6656 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003558/0.1689, allocations: 131.6 kB / 0.6657 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.169, allocations: 0 / 0.6657 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.1691, allocations: 3.938 kB / 0.6657 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.317e-05/0.1692, allocations: 7.938 kB / 0.6657 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.1695, allocations: 78.64 kB / 0.6658 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.1697, allocations: 55.84 kB / 0.6659 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1698, allocations: 15.98 kB / 0.6659 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.464e-05/0.1699, allocations: 35.86 kB / 0.6659 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.1699, allocations: 19.91 kB / 0.6659 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.17, allocations: 8 kB / 0.6659 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.17, allocations: 4 kB / 0.6659 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.17, allocations: 15.92 kB / 0.666 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.1701, allocations: 23.92 kB / 0.666 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.1702, allocations: 62.53 kB / 0.666 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1702, allocations: 0 / 0.666 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.327e-06/0.1702, allocations: 4 kB / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1702, allocations: 0 / 0.666 GB, free: 4.387 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004962/0.1707, allocations: 374.3 kB / 0.6664 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1708, allocations: 9.109 kB / 0.6664 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.1708, allocations: 34.73 kB / 0.6664 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.1708, allocations: 8.844 kB / 0.6664 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.171, allocations: 164.4 kB / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.846e-05/0.171, allocations: 34.27 kB / 0.6666 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.1711, allocations: 384 / 0.6666 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.1713, allocations: 85.91 kB / 0.6667 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.1713, allocations: 0 / 0.6667 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1713, allocations: 0 / 0.6667 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1713, allocations: 4 kB / 0.6667 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.1715, allocations: 47.94 kB / 0.6668 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.1721, allocations: 324.6 kB / 0.6671 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1722, allocations: 50.48 kB / 0.6671 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.92e-05/0.1723, allocations: 40.86 kB / 0.6672 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.1724, allocations: 0 / 0.6672 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1724, allocations: 34.56 kB / 0.6672 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1724, allocations: 4 kB / 0.6672 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003657/0.1728, allocations: 93.64 kB / 0.6673 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.1728, allocations: 51.41 kB / 0.6673 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.676e-05/0.1729, allocations: 121.7 kB / 0.6675 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1729, allocations: 25.7 kB / 0.6675 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.173, allocations: 88.12 kB / 0.6676 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.173, allocations: 15.81 kB / 0.6676 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.173, allocations: 21.72 kB / 0.6676 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1732, allocations: 318.8 kB / 0.6679 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.196e-05/0.1733, allocations: 19.98 kB / 0.6679 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.992e-05/0.1734, allocations: 29.7 kB / 0.668 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.1735, allocations: 65.67 kB / 0.668 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1735, allocations: 0 / 0.668 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002223/0.1738, allocations: 81.59 kB / 0.6681 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1738, allocations: 4 kB / 0.6681 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.1738, allocations: 3.938 kB / 0.6681 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1738, allocations: 4 kB / 0.6681 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.1739, allocations: 11.98 kB / 0.6681 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1739, allocations: 4.031 kB / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.174, allocations: 15.89 kB / 0.6681 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.174, allocations: 4 kB / 0.6681 GB, free: 1.988 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 7.273e-05/0.1741, allocations: 121.7 kB / 0.6683 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.1741, allocations: 0 / 0.6683 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.1741, allocations: 7.906 kB / 0.6683 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1741, allocations: 4 kB / 0.6683 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1742, allocations: 0 / 0.6683 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1742, allocations: 7.984 kB / 0.6683 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1743, allocations: 169.6 kB / 0.6684 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1743, allocations: 0 / 0.6684 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.1744, allocations: 15.98 kB / 0.6684 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1744, allocations: 4 kB / 0.6685 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.1744, allocations: 0 / 0.6685 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1744, allocations: 0 / 0.6685 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1745, allocations: 3.938 kB / 0.6685 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.1747, allocations: 187.5 kB / 0.6686 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.1747, allocations: 77.16 kB / 0.6687 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1748, allocations: 7.984 kB / 0.6687 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.1749, allocations: 11.98 kB / 0.6687 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.1749, allocations: 0 / 0.6687 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.175, allocations: 12.11 kB / 0.6687 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.007e-05/0.175, allocations: 83.28 kB / 0.6688 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.175, allocations: 4 kB / 0.6688 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002188/0.1752, allocations: 8 kB / 0.6688 GB, free: 1.18 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 (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 Backend phase and start with SimCode phase: time 0.0005104/0.1757, allocations: 0.7097 MB / 0.6695 GB, free: 456 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.176, allocations: 55.89 kB / 0.6696 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.176, allocations: 0 / 0.6696 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/0.1761, allocations: 23.98 kB / 0.6696 GB, free: 376 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.1764, allocations: 11.98 kB / 0.6696 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.1779, allocations: 1.333 MB / 0.6709 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.1781, allocations: 0.6845 MB / 0.6716 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.216e-05/0.1782, allocations: 7.984 kB / 0.6716 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.1782, allocations: 11.44 kB / 0.6716 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.1782, allocations: 0 / 0.6716 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.1958, allocations: 1.803 MB / 0.6734 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/7.534, allocations: 4.594 kB / 0.6734 GB, free: 12.5 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)