Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_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.005127/0.005127, allocations: 101 kB / 15.73 MB, free: 6.059 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.001395/0.001395, allocations: 194.5 kB / 16.68 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.48/1.48, 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/package.mo): time 0.8521/0.8521, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.92 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1737, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00335/0.1771, allocations: 1.492 MB / 0.6606 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003722/0.1775, allocations: 127.6 kB / 0.6608 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.1776, allocations: 4 kB / 0.6608 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.1776, allocations: 3.938 kB / 0.6608 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-05/0.1777, allocations: 3.938 kB / 0.6608 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.1781, allocations: 70.39 kB / 0.6608 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1782, allocations: 59.78 kB / 0.6609 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1784, allocations: 23.98 kB / 0.6609 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.1784, allocations: 27.91 kB / 0.6609 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.1785, allocations: 27.91 kB / 0.661 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.1785, allocations: 4 kB / 0.661 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.039e-05/0.1786, allocations: 4 kB / 0.661 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.1786, allocations: 15.92 kB / 0.661 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.1787, allocations: 15.94 kB / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.1788, allocations: 67.98 kB / 0.6611 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1788, allocations: 0 / 0.6611 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1788, allocations: 0 / 0.6611 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.1788, allocations: 4 kB / 0.6611 GB, free: 8.82 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.0005877/0.1794, allocations: 375.2 kB / 0.6614 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1795, allocations: 8.031 kB / 0.6614 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.1795, allocations: 42.75 kB / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.1796, allocations: 0.9375 kB / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.1797, allocations: 172.3 kB / 0.6616 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.569e-05/0.1798, allocations: 30.27 kB / 0.6617 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.1798, allocations: 12.36 kB / 0.6617 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.18, allocations: 81.95 kB / 0.6618 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.1801, allocations: 0 / 0.6618 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1801, allocations: 0 / 0.6618 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1801, allocations: 0 / 0.6618 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.1803, allocations: 43.95 kB / 0.6618 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.1809, allocations: 328.6 kB / 0.6621 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.1811, allocations: 42.56 kB / 0.6622 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1812, allocations: 40.84 kB / 0.6622 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.1812, allocations: 0 / 0.6622 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1813, allocations: 38.5 kB / 0.6622 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1813, allocations: 0 / 0.6622 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003981/0.1817, allocations: 97.58 kB / 0.6623 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.1817, allocations: 55.41 kB / 0.6624 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.1818, allocations: 109.8 kB / 0.6625 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1819, allocations: 25.7 kB / 0.6625 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.1819, allocations: 100.1 kB / 0.6626 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.182, allocations: 7.906 kB / 0.6626 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.182, allocations: 17.72 kB / 0.6626 GB, free: 7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1822, allocations: 326.8 kB / 0.6629 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-05/0.1823, allocations: 11.98 kB / 0.663 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1824, allocations: 41.69 kB / 0.663 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.1826, allocations: 57.62 kB / 0.663 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1826, allocations: 0 / 0.663 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002234/0.1828, allocations: 81.66 kB / 0.6631 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1828, allocations: 11.98 kB / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.1829, allocations: 0 / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1829, allocations: 7.969 kB / 0.6631 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.183, allocations: 12 kB / 0.6632 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.183, allocations: 3.984 kB / 0.6632 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.558e-05/0.1831, allocations: 11.89 kB / 0.6632 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1831, allocations: 0 / 0.6632 GB, free: 6.418 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 9.458e-05/0.1832, allocations: 117.8 kB / 0.6633 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.1832, allocations: 0 / 0.6633 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.1832, allocations: 15.89 kB / 0.6633 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1832, allocations: 4 kB / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1833, allocations: 0 / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1833, allocations: 0 / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.1835, allocations: 177.6 kB / 0.6635 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1835, allocations: 0 / 0.6635 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.608e-05/0.1835, allocations: 8.125 kB / 0.6635 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1836, allocations: 7.984 kB / 0.6635 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1836, allocations: 0 / 0.6635 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1836, allocations: 0 / 0.6635 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1836, allocations: 3.938 kB / 0.6635 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.1839, allocations: 187.3 kB / 0.6637 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.1839, allocations: 77.11 kB / 0.6637 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1839, allocations: 4 kB / 0.6637 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.1841, allocations: 7.984 kB / 0.6638 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.1841, allocations: 7.984 kB / 0.6638 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1841, allocations: 4 kB / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.899e-05/0.1842, allocations: 95.33 kB / 0.6639 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1842, allocations: 3.938 kB / 0.6639 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002256/0.1844, allocations: 15.95 kB / 0.6639 GB, free: 5.59 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.0006023/0.185, allocations: 0.7049 MB / 0.6646 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.1853, allocations: 51.94 kB / 0.6646 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1853, allocations: 4 kB / 0.6646 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/0.1854, allocations: 27.91 kB / 0.6646 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1857, allocations: 4 kB / 0.6646 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.1873, allocations: 1.333 MB / 0.666 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1876, allocations: 0.6846 MB / 0.6666 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.119e-05/0.1876, allocations: 8 kB / 0.6666 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.1877, allocations: 15.44 kB / 0.6666 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1877, allocations: 0 / 0.6666 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.2102, allocations: 1.769 MB / 0.6684 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.437, allocations: 7.875 kB / 0.6684 GB, free: 0.9531 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)