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.002311/0.00231, allocations: 99.27 kB / 16.4 MB, free: 6.477 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.002585/0.002585, allocations: 195.8 kB / 17.34 MB, free: 5.75 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.41/2.41, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.197/1.197, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 66.61 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2684, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003412/0.2719, allocations: 1.249 MB / 0.6328 GB, free: 3.645 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.2739, allocations: 0.8384 MB / 0.6336 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.274, allocations: 0 / 0.6336 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.274, allocations: 0 / 0.6336 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.336e-05/0.2741, allocations: 3.938 kB / 0.6336 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000757/0.2749, allocations: 139.4 kB / 0.6338 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.275, allocations: 27.86 kB / 0.6338 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.643e-05/0.2751, allocations: 4 kB / 0.6338 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-05/0.2751, allocations: 7.938 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.2752, allocations: 11.98 kB / 0.6338 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.855e-05/0.2753, allocations: 4 kB / 0.6338 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.2757, allocations: 167.7 kB / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.2758, allocations: 4 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.2758, allocations: 19.91 kB / 0.634 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.2761, allocations: 107.2 kB / 0.6341 GB, free: 2.316 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.2762, allocations: 4 kB / 0.6341 GB, free: 2.312 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.2762, allocations: 4 kB / 0.6341 GB, free: 2.309 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.2762, allocations: 0 / 0.6341 GB, free: 2.309 MB / 478.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.0005824/0.2768, allocations: 359.6 kB / 0.6345 GB, free: 1.906 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.2768, allocations: 12.03 kB / 0.6345 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.2769, allocations: 34.73 kB / 0.6345 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.277, allocations: 4.938 kB / 0.6345 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.2771, allocations: 160.4 kB / 0.6347 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.2772, allocations: 38.2 kB / 0.6347 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.2772, allocations: 8.312 kB / 0.6347 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.2774, allocations: 46 kB / 0.6347 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2775, allocations: 3.984 kB / 0.6347 GB, free: 1.547 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2775, allocations: 0 / 0.6347 GB, free: 1.547 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.2775, allocations: 4 kB / 0.6348 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.2776, allocations: 11.98 kB / 0.6348 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.2779, allocations: 157.7 kB / 0.6349 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.2782, allocations: 46.56 kB / 0.635 GB, free: 1.273 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.491e-05/0.2783, allocations: 20.8 kB / 0.635 GB, free: 1.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003791/0.2787, allocations: 182.3 kB / 0.6352 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.2787, allocations: 38.5 kB / 0.6352 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.2787, allocations: 0 / 0.6352 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003729/0.2791, allocations: 73.58 kB / 0.6353 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.2792, allocations: 51.41 kB / 0.6353 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.2793, allocations: 97.84 kB / 0.6354 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.2793, allocations: 25.7 kB / 0.6354 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.2794, allocations: 80.14 kB / 0.6355 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.2794, allocations: 15.84 kB / 0.6355 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.2795, allocations: 13.72 kB / 0.6355 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2796, allocations: 326.8 kB / 0.6358 GB, free: 272 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.2797, allocations: 4 kB / 0.6358 GB, free: 268 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.635e-05/0.2798, allocations: 15.98 kB / 0.6359 GB, free: 252 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.2799, allocations: 29.31 kB / 0.6359 GB, free: 220 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.28, allocations: 0 / 0.6359 GB, free: 220 kB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002106/0.2802, allocations: 69.52 kB / 0.636 GB, free: 144 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2802, allocations: 7.938 kB / 0.636 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2802, allocations: 0 / 0.636 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2803, allocations: 4 kB / 0.636 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.2804, allocations: 15.92 kB / 0.636 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2804, allocations: 0 / 0.636 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.2804, allocations: 0 / 0.636 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.2804, allocations: 4 kB / 0.636 GB, free: 112 kB / 478.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.2806, allocations: 105.8 kB / 0.6361 GB, free: 16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.2806, allocations: 7.938 kB / 0.6361 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.2809, allocations: 65.17 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2809, allocations: 7.938 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2809, allocations: 0 / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.2809, allocations: 4 kB / 0.6362 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.2811, allocations: 153.7 kB / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2811, allocations: 3.984 kB / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.615e-05/0.2812, allocations: 11.94 kB / 0.6363 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2812, allocations: 3.938 kB / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.2812, allocations: 0 / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2812, allocations: 0 / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2812, allocations: 0 / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.2815, allocations: 89.02 kB / 0.6364 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.2815, allocations: 81.05 kB / 0.6365 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.2816, allocations: 7.984 kB / 0.6365 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.2817, allocations: 4 kB / 0.6365 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.2817, allocations: 4 kB / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.2817, allocations: 0 / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.242e-05/0.2818, allocations: 79.28 kB / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2818, allocations: 4 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004334/0.2822, allocations: 39.92 kB / 0.6366 GB, free: 15.34 MB / 494.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 (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.0007837/0.283, allocations: 0.6553 MB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.2833, allocations: 27.98 kB / 0.6373 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2833, allocations: 0 / 0.6373 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/0.2834, allocations: 16.36 kB / 0.6373 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.2838, allocations: 11.98 kB / 0.6373 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.2845, allocations: 168.8 kB / 0.6375 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.2849, allocations: 0.6767 MB / 0.6381 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.715e-05/0.285, allocations: 12.08 kB / 0.6382 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.2851, allocations: 19.36 kB / 0.6382 GB, free: 13.66 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2851, allocations: 0 / 0.6382 GB, free: 13.66 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.3146, allocations: 1.947 MB / 0.6401 GB, free: 11.81 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.89, allocations: 14.19 kB / 0.6401 GB, free: 11.8 MB / 494.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/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)