Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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/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.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_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.0009528/0.0009528, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001014/0.001014, allocations: 191.3 kB / 16.25 MB, free: 6.641 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.19/1.19, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6805/0.6805, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 59.53 kB / 0.5014 GB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.356, allocations: 80.2 MB / 0.5797 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002394/0.3584, allocations: 1.549 MB / 0.5812 GB, free: 3.488 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3595, allocations: 0.8088 MB / 0.582 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.3596, allocations: 1.938 kB / 0.582 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.3596, allocations: 1.359 kB / 0.582 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.46e-05/0.3597, allocations: 9.297 kB / 0.582 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.36, allocations: 116.8 kB / 0.5821 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.113e-05/0.3601, allocations: 55.12 kB / 0.5821 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.717e-05/0.3602, allocations: 16.72 kB / 0.5822 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.846e-05/0.3603, allocations: 14.84 kB / 0.5822 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.179e-05/0.3603, allocations: 34.06 kB / 0.5822 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.3603, allocations: 3.312 kB / 0.5822 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.3606, allocations: 176.3 kB / 0.5824 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.3606, allocations: 7.547 kB / 0.5824 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.3607, allocations: 24.53 kB / 0.5824 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.3609, allocations: 156.2 kB / 0.5826 GB, free: 2.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3609, allocations: 0 / 0.5826 GB, free: 2.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3609, allocations: 0 / 0.5826 GB, free: 2.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.3609, allocations: 0.75 kB / 0.5826 GB, free: 2.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004161/0.3614, allocations: 399 kB / 0.5829 GB, free: 2.289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3614, allocations: 8.844 kB / 0.583 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.399e-05/0.3614, allocations: 33.22 kB / 0.583 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.3615, allocations: 7.281 kB / 0.583 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.76e-05/0.3615, allocations: 168.8 kB / 0.5832 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.3615, allocations: 2.375 kB / 0.5832 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.3616, allocations: 7.109 kB / 0.5832 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.3618, allocations: 79.38 kB / 0.5832 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3618, allocations: 3.938 kB / 0.5832 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.3618, allocations: 6.109 kB / 0.5832 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3618, allocations: 1.219 kB / 0.5832 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.3621, allocations: 64.41 kB / 0.5833 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.3624, allocations: 291.1 kB / 0.5836 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.3626, allocations: 55.19 kB / 0.5836 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.3627, allocations: 41.52 kB / 0.5837 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.3629, allocations: 93.59 kB / 0.5838 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.055e-05/0.3629, allocations: 35.22 kB / 0.5838 GB, free: 1.496 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3629, allocations: 1.25 kB / 0.5838 GB, free: 1.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004683/0.3634, allocations: 132.9 kB / 0.5839 GB, free: 1.445 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.759e-05/0.3634, allocations: 56.2 kB / 0.584 GB, free: 1.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.35e-05/0.3635, allocations: 125.2 kB / 0.5841 GB, free: 1.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.3635, allocations: 26.27 kB / 0.5841 GB, free: 1.238 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.225e-05/0.3635, allocations: 87.73 kB / 0.5842 GB, free: 1.152 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.3635, allocations: 13.77 kB / 0.5842 GB, free: 1.141 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.3636, allocations: 14.39 kB / 0.5842 GB, free: 1.125 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.827e-05/0.3636, allocations: 321.3 kB / 0.5845 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3637, allocations: 34.97 kB / 0.5846 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.3639, allocations: 31.5 kB / 0.5846 GB, free: 0.793 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.3641, allocations: 71.45 kB / 0.5847 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3641, allocations: 0.625 kB / 0.5847 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002817/0.3644, allocations: 107.4 kB / 0.5848 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3644, allocations: 4.781 kB / 0.5848 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3644, allocations: 0.7031 kB / 0.5848 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.3645, allocations: 1.156 kB / 0.5848 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3646, allocations: 14.83 kB / 0.5848 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.3646, allocations: 1.516 kB / 0.5848 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.385e-05/0.3647, allocations: 14.91 kB / 0.5848 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3647, allocations: 2.75 kB / 0.5848 GB, free: 0.7188 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 (3): * Single equations (assignments): 3 * 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 4.202e-05/0.3647, allocations: 117.6 kB / 0.5849 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.3647, allocations: 6.062 kB / 0.5849 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.3651, allocations: 109.5 kB / 0.585 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3651, allocations: 1.75 kB / 0.585 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3651, allocations: 7.938 kB / 0.585 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3651, allocations: 2.016 kB / 0.5851 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.3652, allocations: 173 kB / 0.5852 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3652, allocations: 0 / 0.5852 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.028e-05/0.3653, allocations: 15.42 kB / 0.5852 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3653, allocations: 1.156 kB / 0.5852 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3653, allocations: 8.781 kB / 0.5852 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3653, allocations: 0 / 0.5852 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.3653, allocations: 1.906 kB / 0.5852 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.3656, allocations: 198 kB / 0.5854 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.836e-05/0.3657, allocations: 87.47 kB / 0.5855 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.3657, allocations: 0.75 kB / 0.5855 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3658, allocations: 11.89 kB / 0.5855 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.3658, allocations: 8.062 kB / 0.5855 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-06/0.3659, allocations: 1.625 kB / 0.5855 GB, free: 72 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.465e-05/0.3659, allocations: 91.27 kB / 0.5856 GB, free: 15.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3659, allocations: 4.75 kB / 0.5856 GB, free: 15.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.3662, allocations: 34.94 kB / 0.5857 GB, free: 15.98 MB / 446.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 (3): * Single equations (assignments): 3 * 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.0006525/0.3668, allocations: 0.7549 MB / 0.5864 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003086/0.3671, allocations: 67.02 kB / 0.5865 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3672, allocations: 5.219 kB / 0.5865 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.3673, allocations: 38.8 kB / 0.5865 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.3676, allocations: 10.5 kB / 0.5865 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.3691, allocations: 1.425 MB / 0.5879 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.3694, allocations: 0.6893 MB / 0.5886 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.296e-05/0.3694, allocations: 10.11 kB / 0.5886 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.3695, allocations: 19.59 kB / 0.5886 GB, free: 13.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3695, allocations: 0 / 0.5886 GB, free: 13.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3157/0.6852, allocations: 2.224 MB / 0.5908 GB, free: 13.01 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/0.6854, allocations: 192.8 kB / 0.591 GB, free: 12.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/3.813, allocations: 0 / 0.591 GB, free: 12.75 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)