Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.001325/0.001325, allocations: 95.33 kB / 15.68 MB, free: 488 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.001416/0.001416, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.467/2.467, allocations: 223.2 MB / 240.5 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.256/1.256, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005909/0.000591, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3621, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.0026/0.3648, allocations: 0.9706 MB / 0.5577 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.3669, allocations: 0.7201 MB / 0.5584 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.367, allocations: 4 kB / 0.5584 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.3671, allocations: 0 / 0.5584 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.3672, allocations: 7.969 kB / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.3683, allocations: 119.6 kB / 0.5585 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.3684, allocations: 11.98 kB / 0.5585 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.799e-05/0.3685, allocations: 3.984 kB / 0.5585 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.97e-05/0.3686, allocations: 15.94 kB / 0.5585 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3687, allocations: 11.98 kB / 0.5586 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.3688, allocations: 0 / 0.5586 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000682/0.3695, allocations: 175.8 kB / 0.5587 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.331e-05/0.3695, allocations: 11.92 kB / 0.5587 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.3696, allocations: 29.7 kB / 0.5588 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.3699, allocations: 88.06 kB / 0.5588 GB, free: 9.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.37, allocations: 0 / 0.5588 GB, free: 9.516 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.37, allocations: 0 / 0.5588 GB, free: 9.516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.37, allocations: 0 / 0.5588 GB, free: 9.516 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007409/0.3707, allocations: 351.3 kB / 0.5592 GB, free: 9.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.301e-05/0.3708, allocations: 11.97 kB / 0.5592 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.452e-05/0.3709, allocations: 34.56 kB / 0.5592 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.371, allocations: 3.906 kB / 0.5592 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.3712, allocations: 167.1 kB / 0.5594 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.3713, allocations: 33.7 kB / 0.5594 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.3714, allocations: 7.953 kB / 0.5594 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.3716, allocations: 41.69 kB / 0.5595 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3716, allocations: 0 / 0.5595 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3716, allocations: 0 / 0.5595 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3717, allocations: 0 / 0.5595 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3718, allocations: 19.92 kB / 0.5595 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.3722, allocations: 161.7 kB / 0.5596 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.3725, allocations: 46.59 kB / 0.5597 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004465/0.3729, allocations: 182.3 kB / 0.5599 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.373, allocations: 34.52 kB / 0.5599 GB, free: 8.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 4.268e-06/0.373, allocations: 0 / 0.5599 GB, free: 8.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003705/0.3734, allocations: 77.55 kB / 0.56 GB, free: 8.148 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.3735, allocations: 51.41 kB / 0.56 GB, free: 8.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3736, allocations: 98.03 kB / 0.5601 GB, free: 7.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.3736, allocations: 29.7 kB / 0.5601 GB, free: 7.945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.3737, allocations: 80.14 kB / 0.5602 GB, free: 7.863 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.3738, allocations: 11.8 kB / 0.5602 GB, free: 7.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.3738, allocations: 4 kB / 0.5602 GB, free: 7.848 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.374, allocations: 318.8 kB / 0.5605 GB, free: 7.527 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-05/0.3741, allocations: 4 kB / 0.5605 GB, free: 7.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.3741, allocations: 11.98 kB / 0.5605 GB, free: 7.512 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.699e-05/0.3742, allocations: 8 kB / 0.5606 GB, free: 7.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3742, allocations: 0 / 0.5606 GB, free: 7.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002155/0.3744, allocations: 61.67 kB / 0.5606 GB, free: 7.438 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.3745, allocations: 7.953 kB / 0.5606 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3745, allocations: 3.938 kB / 0.5606 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3745, allocations: 0 / 0.5606 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.543e-05/0.3746, allocations: 12 kB / 0.5606 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3746, allocations: 0 / 0.5606 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/0.3747, allocations: 7.922 kB / 0.5606 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3747, allocations: 7.938 kB / 0.5606 GB, free: 7.398 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.3748, allocations: 105.8 kB / 0.5608 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.3749, allocations: 3.906 kB / 0.5608 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.3752, allocations: 73.12 kB / 0.5608 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3752, allocations: 4 kB / 0.5608 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3752, allocations: 0 / 0.5608 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.3752, allocations: 0 / 0.5608 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.3754, allocations: 165.6 kB / 0.561 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3754, allocations: 0 / 0.561 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.426e-05/0.3755, allocations: 7.984 kB / 0.561 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.3755, allocations: 0 / 0.561 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3755, allocations: 4 kB / 0.561 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3755, allocations: 3.953 kB / 0.561 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3756, allocations: 0 / 0.561 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.3758, allocations: 81.12 kB / 0.5611 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/0.3759, allocations: 81.09 kB / 0.5612 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.3759, allocations: 4 kB / 0.5612 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.376, allocations: 11.94 kB / 0.5612 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.3761, allocations: 7.938 kB / 0.5612 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-05/0.3762, allocations: 4 kB / 0.5612 GB, free: 6.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.008e-05/0.3762, allocations: 75.28 kB / 0.5613 GB, free: 6.668 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.675e-06/0.3762, allocations: 4 kB / 0.5613 GB, free: 6.664 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004379/0.3767, allocations: 39.86 kB / 0.5613 GB, free: 6.625 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 (4): * Single equations (assignments): 4 * 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.0009181/0.3776, allocations: 0.6488 MB / 0.5619 GB, free: 5.945 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.3778, allocations: 32.02 kB / 0.562 GB, free: 5.914 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.3778, allocations: 4 kB / 0.562 GB, free: 5.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.378, allocations: 19.92 kB / 0.562 GB, free: 5.891 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.3783, allocations: 11.67 kB / 0.562 GB, free: 5.883 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.3789, allocations: 176.2 kB / 0.5622 GB, free: 5.672 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.3794, allocations: 0.6809 MB / 0.5628 GB, free: 4.965 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.964e-05/0.3795, allocations: 15.92 kB / 0.5628 GB, free: 4.949 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.3795, allocations: 11.44 kB / 0.5629 GB, free: 4.938 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3795, allocations: 0 / 0.5629 GB, free: 4.938 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08833/0.4679, allocations: 1.689 MB / 0.5645 GB, free: 3.395 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005155/0.4685, allocations: 187.2 kB / 0.5647 GB, free: 3.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/3.445, allocations: 0 / 0.5647 GB, free: 3.16 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) Environment - environmentSimulation: