Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.001579/0.001579, allocations: 102.5 kB / 16.4 MB, free: 6.453 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.001867/0.001867, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.42/1.42, 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 0.7543/0.7543, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 65.67 kB / 0.5572 GB, free: 32.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1515, allocations: 76.18 MB / 0.6316 GB, free: 5.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003087/0.1546, allocations: 1.91 MB / 0.6334 GB, free: 3.109 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5765/0.7312, allocations: 155.4 MB / 0.7852 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.7313, allocations: 2.297 kB / 0.7852 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.7315, allocations: 38.72 kB / 0.7852 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.7318, allocations: 69.41 kB / 0.7853 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008133/0.7326, allocations: 269 kB / 0.7856 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.7329, allocations: 263.2 kB / 0.7858 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.733, allocations: 71.67 kB / 0.7859 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.7342, allocations: 246.5 kB / 0.7861 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.7344, allocations: 99.28 kB / 0.7862 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.7344, allocations: 13.91 kB / 0.7862 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.7347, allocations: 182.7 kB / 0.7864 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.7348, allocations: 44.14 kB / 0.7864 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.865e-05/0.7349, allocations: 97.86 kB / 0.7865 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.7352, allocations: 285.3 kB / 0.7868 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.7353, allocations: 0 / 0.7868 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7353, allocations: 0 / 0.7868 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.7353, allocations: 0 / 0.7868 GB, free: 13.32 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008599/0.7361, allocations: 0.524 MB / 0.7873 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.7362, allocations: 8.375 kB / 0.7873 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.345e-05/0.7362, allocations: 51.48 kB / 0.7874 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008256/0.7371, allocations: 87.47 kB / 0.7875 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.7373, allocations: 231 kB / 0.7877 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.645e-05/0.7374, allocations: 43.03 kB / 0.7877 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.7374, allocations: 14 kB / 0.7877 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.7379, allocations: 261.9 kB / 0.788 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.7379, allocations: 1.094 kB / 0.788 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.738, allocations: 5.5 kB / 0.788 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.738, allocations: 6.219 kB / 0.788 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.7384, allocations: 177.6 kB / 0.7882 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.7399, allocations: 1.175 MB / 0.7893 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007077/0.7406, allocations: 206.8 kB / 0.7895 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.7407, allocations: 72.69 kB / 0.7896 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.7408, allocations: 8.328 kB / 0.7896 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.7408, allocations: 31.94 kB / 0.7896 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.7408, allocations: 0 / 0.7896 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.002677/0.7435, allocations: 0.6285 MB / 0.7902 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.7435, allocations: 56.78 kB / 0.7903 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.7438, allocations: 214.5 kB / 0.7905 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.7438, allocations: 31.36 kB / 0.7905 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/0.7439, allocations: 139.5 kB / 0.7907 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.7439, allocations: 37 kB / 0.7907 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.025e-05/0.744, allocations: 50.47 kB / 0.7907 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.7442, allocations: 331.6 kB / 0.7911 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.7444, allocations: 72.12 kB / 0.7911 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.7446, allocations: 135.5 kB / 0.7913 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.745, allocations: 198.2 kB / 0.7914 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.745, allocations: 0 / 0.7914 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001437/0.7465, allocations: 380.7 kB / 0.7918 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.7465, allocations: 6.875 kB / 0.7918 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7465, allocations: 1.375 kB / 0.7918 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.7476, allocations: 162.9 kB / 0.792 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.7478, allocations: 41.36 kB / 0.792 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003801/0.7516, allocations: 3.258 MB / 0.7952 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.752, allocations: 34.61 kB / 0.7952 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.7521, allocations: 13.66 kB / 0.7952 GB, free: 7.488 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.7522, allocations: 135.4 kB / 0.7954 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.7523, allocations: 15.47 kB / 0.7954 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.7535, allocations: 369 kB / 0.7957 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7536, allocations: 9.375 kB / 0.7957 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.7536, allocations: 0 / 0.7957 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.7536, allocations: 0 / 0.7957 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.7539, allocations: 286 kB / 0.796 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7539, allocations: 0 / 0.796 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.754, allocations: 26.02 kB / 0.796 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008019/0.7548, allocations: 138.2 kB / 0.7962 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.7549, allocations: 0 / 0.7962 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003518/0.7584, allocations: 3.305 MB / 0.7994 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7584, allocations: 0 / 0.7994 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.7597, allocations: 436.2 kB / 0.7998 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.7598, allocations: 113 kB / 0.7999 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.7599, allocations: 1.922 kB / 0.7999 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.7602, allocations: 17.41 kB / 0.7999 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/0.7603, allocations: 15.98 kB / 0.8 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.7603, allocations: 4.75 kB / 0.8 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001848/0.7605, allocations: 168.9 kB / 0.8001 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7605, allocations: 0 / 0.8001 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004927/0.761, allocations: 75.09 kB / 0.8002 GB, free: 3.871 MB / 0.5919 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001602/0.7626, allocations: 0.9766 MB / 0.8011 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009939/0.7636, allocations: 439.7 kB / 0.8016 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7636, allocations: 3.688 kB / 0.8016 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006767/0.7643, allocations: 360.6 kB / 0.8019 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.7648, allocations: 66.77 kB / 0.802 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/0.7697, allocations: 2.515 MB / 0.8044 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.77, allocations: 0.7327 MB / 0.8051 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001829/0.7702, allocations: 36.08 kB / 0.8052 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.654e-05/0.7703, allocations: 51.59 kB / 0.8052 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.7703, allocations: 4 kB / 0.8052 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03496/0.8053, allocations: 7.462 MB / 0.8125 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.34, allocations: 3.375 kB / 0.8125 GB, free: 13.13 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)