Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.00158/0.00158, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003141/0.003141, allocations: 176.2 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.517/2.517, allocations: 223.2 MB / 240.5 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.162/1.162, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006273/0.0006272, allocations: 9.625 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3128, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003947/0.3169, allocations: 1.333 MB / 0.558 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.3184, allocations: 347.2 kB / 0.5583 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.3185, allocations: 7.938 kB / 0.5584 GB, free: 10 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.28e-05/0.3186, allocations: 3.938 kB / 0.5584 GB, free: 10 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.3188, allocations: 35.88 kB / 0.5584 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008657/0.3197, allocations: 99.83 kB / 0.5585 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.32, allocations: 71.83 kB / 0.5586 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.3203, allocations: 24.17 kB / 0.5586 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3205, allocations: 43.84 kB / 0.5586 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.3206, allocations: 27.86 kB / 0.5586 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.3207, allocations: 3.984 kB / 0.5587 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.3209, allocations: 59.89 kB / 0.5587 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.321, allocations: 15.92 kB / 0.5587 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.321, allocations: 41.69 kB / 0.5588 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.3213, allocations: 84.09 kB / 0.5588 GB, free: 9.492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3214, allocations: 0 / 0.5588 GB, free: 9.492 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.127e-06/0.3214, allocations: 0 / 0.5588 GB, free: 9.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.3214, allocations: 0 / 0.5588 GB, free: 9.492 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00122/0.3226, allocations: 407 kB / 0.5592 GB, free: 9.047 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.000134/0.3228, allocations: 12.03 kB / 0.5592 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.3229, allocations: 42.48 kB / 0.5593 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006216/0.3236, allocations: 31.88 kB / 0.5593 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.3242, allocations: 198.2 kB / 0.5595 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.3244, allocations: 37.66 kB / 0.5595 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.3245, allocations: 15.94 kB / 0.5596 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.3251, allocations: 103.7 kB / 0.5597 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3251, allocations: 0 / 0.5597 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.3252, allocations: 0 / 0.5597 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.3252, allocations: 4 kB / 0.5597 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.3257, allocations: 95.88 kB / 0.5597 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.3275, allocations: 396.4 kB / 0.5601 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009356/0.3284, allocations: 138.6 kB / 0.5603 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3285, allocations: 4 kB / 0.5603 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.144e-05/0.3286, allocations: 34.56 kB / 0.5603 GB, free: 7.832 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 3.466e-06/0.3286, allocations: 0 / 0.5603 GB, free: 7.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008124/0.3294, allocations: 153.6 kB / 0.5604 GB, free: 7.676 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.3295, allocations: 55.36 kB / 0.5605 GB, free: 7.609 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.3297, allocations: 136.5 kB / 0.5606 GB, free: 7.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.3298, allocations: 29.69 kB / 0.5607 GB, free: 7.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.3299, allocations: 96.23 kB / 0.5607 GB, free: 7.336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/0.33, allocations: 27.64 kB / 0.5608 GB, free: 7.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.33, allocations: 4 kB / 0.5608 GB, free: 7.305 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000235/0.3302, allocations: 318.8 kB / 0.5611 GB, free: 6.984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.3304, allocations: 35.97 kB / 0.5611 GB, free: 6.949 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.3306, allocations: 54 kB / 0.5612 GB, free: 6.891 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.3309, allocations: 40.12 kB / 0.5612 GB, free: 6.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3309, allocations: 0 / 0.5612 GB, free: 6.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004718/0.3314, allocations: 125.5 kB / 0.5613 GB, free: 6.723 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.3314, allocations: 4 kB / 0.5613 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.3314, allocations: 0 / 0.5613 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.3315, allocations: 4 kB / 0.5613 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.3317, allocations: 23.98 kB / 0.5614 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.3317, allocations: 0 / 0.5614 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.3318, allocations: 15.94 kB / 0.5614 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3318, allocations: 4 kB / 0.5614 GB, free: 6.672 MB / 430.1 MB 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001788/0.332, allocations: 121.7 kB / 0.5615 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.3321, allocations: 7.906 kB / 0.5615 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/0.3321, allocations: 20.7 kB / 0.5615 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.3321, allocations: 0 / 0.5615 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.3322, allocations: 0 / 0.5615 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3322, allocations: 0 / 0.5615 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.3327, allocations: 201.6 kB / 0.5617 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3327, allocations: 0 / 0.5617 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.3329, allocations: 23.98 kB / 0.5617 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.3329, allocations: 0 / 0.5617 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3329, allocations: 3.938 kB / 0.5617 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3329, allocations: 3.938 kB / 0.5617 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.3329, allocations: 4 kB / 0.5617 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006361/0.3336, allocations: 219.3 kB / 0.562 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.3337, allocations: 85.02 kB / 0.562 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.3338, allocations: 4 kB / 0.562 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.3341, allocations: 11.98 kB / 0.562 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.3342, allocations: 7.984 kB / 0.5621 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.3342, allocations: 8 kB / 0.5621 GB, free: 5.871 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.3343, allocations: 107.2 kB / 0.5622 GB, free: 5.766 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3343, allocations: 0 / 0.5622 GB, free: 5.766 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.3347, allocations: 24 kB / 0.5622 GB, free: 5.742 MB / 430.1 MB 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009505/0.3356, allocations: 0.7442 MB / 0.5629 GB, free: 4.973 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003676/0.336, allocations: 87.94 kB / 0.563 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.336, allocations: 0 / 0.563 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.3362, allocations: 43.92 kB / 0.563 GB, free: 4.844 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.3368, allocations: 29.86 kB / 0.5631 GB, free: 4.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.3387, allocations: 0.5804 MB / 0.5636 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007959/0.3395, allocations: 0.7004 MB / 0.5643 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.3397, allocations: 12.66 kB / 0.5643 GB, free: 3.438 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.3398, allocations: 23.44 kB / 0.5644 GB, free: 3.414 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3398, allocations: 0 / 0.5644 GB, free: 3.414 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.3638, allocations: 2.335 MB / 0.5666 GB, free: 1.262 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003423/0.3642, allocations: 194.9 kB / 0.5668 GB, free: 1.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.348/3.712, allocations: 3.234 kB / 0.5668 GB, free: 1.02 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) Environment - environmentSimulation: