Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.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: translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 119.8 kB / 17.09 MB, free: 5.992 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.001239/0.001239, allocations: 196.6 kB / 18.02 MB, free: 5.066 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.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7676/0.7676, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 73.22 kB / 0.5584 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1654, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5729/0.7383, allocations: 161.3 MB / 0.7903 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005103/0.7435, allocations: 4.54 MB / 0.7947 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004681/0.744, allocations: 13.81 kB / 0.7948 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.7444, allocations: 127 kB / 0.7949 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008615/0.7454, allocations: 342.3 kB / 0.7952 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007891/0.7462, allocations: 280.9 kB / 0.7955 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006553/0.7468, allocations: 0.5635 MB / 0.796 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.7472, allocations: 201.2 kB / 0.7962 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.7482, allocations: 478.4 kB / 0.7967 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.7485, allocations: 187.1 kB / 0.7968 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.7485, allocations: 17.38 kB / 0.7969 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.7487, allocations: 80.17 kB / 0.7969 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.872e-05/0.7488, allocations: 92.03 kB / 0.797 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.7489, allocations: 115.8 kB / 0.7971 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.7493, allocations: 299.8 kB / 0.7974 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7493, allocations: 1.688 kB / 0.7974 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7493, allocations: 2.5 kB / 0.7974 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.7493, allocations: 0 / 0.7974 GB, free: 12.71 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008309/0.7502, allocations: 0.5326 MB / 0.7979 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.7502, allocations: 7.625 kB / 0.798 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.7503, allocations: 30.28 kB / 0.798 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.7507, allocations: 290.8 kB / 0.7983 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.7507, allocations: 20.22 kB / 0.7983 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.7508, allocations: 16.34 kB / 0.7983 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.7512, allocations: 263.5 kB / 0.7985 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.7512, allocations: 6.875 kB / 0.7986 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.7512, allocations: 9.688 kB / 0.7986 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.7512, allocations: 5.969 kB / 0.7986 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.7515, allocations: 149 kB / 0.7987 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.7528, allocations: 1.364 MB / 0.8 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.7531, allocations: 184.3 kB / 0.8002 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.7533, allocations: 91.47 kB / 0.8003 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003342/0.7536, allocations: 118.7 kB / 0.8004 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.7537, allocations: 42.97 kB / 0.8005 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/0.7537, allocations: 0 / 0.8005 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0005875/0.7543, allocations: 210.8 kB / 0.8007 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/0.7544, allocations: 186.4 kB / 0.8008 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.7547, allocations: 289.9 kB / 0.8011 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.7547, allocations: 28.89 kB / 0.8011 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.7548, allocations: 148.5 kB / 0.8013 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.7548, allocations: 35.19 kB / 0.8013 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.7549, allocations: 35.09 kB / 0.8013 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7551, allocations: 336.8 kB / 0.8017 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.7552, allocations: 52.17 kB / 0.8017 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.7554, allocations: 117 kB / 0.8018 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.7556, allocations: 162.4 kB / 0.802 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7557, allocations: 4 kB / 0.802 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003605/0.756, allocations: 185.7 kB / 0.8022 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.7561, allocations: 9.531 kB / 0.8022 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.7561, allocations: 2.469 kB / 0.8022 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.7561, allocations: 2.375 kB / 0.8022 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.7563, allocations: 43.05 kB / 0.8022 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.7563, allocations: 0 / 0.8022 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.7564, allocations: 26.64 kB / 0.8022 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.7565, allocations: 11.56 kB / 0.8023 GB, free: 9.344 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 (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.7566, allocations: 149.3 kB / 0.8024 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.7567, allocations: 26.19 kB / 0.8024 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.757, allocations: 133.1 kB / 0.8026 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.7571, allocations: 2.469 kB / 0.8026 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7571, allocations: 2.656 kB / 0.8026 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.7571, allocations: 0 / 0.8026 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008573/0.7579, allocations: 0.7733 MB / 0.8033 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.758, allocations: 10.56 kB / 0.8033 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.7581, allocations: 19.83 kB / 0.8033 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.7581, allocations: 2.562 kB / 0.8033 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.7581, allocations: 3.531 kB / 0.8033 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.7581, allocations: 6.547 kB / 0.8034 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7581, allocations: 3.344 kB / 0.8034 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.7587, allocations: 341.2 kB / 0.8037 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.582e-05/0.7588, allocations: 107.1 kB / 0.8038 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.7588, allocations: 6.125 kB / 0.8038 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.759, allocations: 12.67 kB / 0.8038 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.759, allocations: 16.61 kB / 0.8038 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.759, allocations: 2.969 kB / 0.8038 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002026/0.7592, allocations: 209.5 kB / 0.804 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7592, allocations: 5.031 kB / 0.804 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003404/0.7596, allocations: 59.5 kB / 0.8041 GB, free: 8.105 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003485/0.7599, allocations: 133.4 kB / 0.8042 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003495/0.7603, allocations: 127.2 kB / 0.8043 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7603, allocations: 0 / 0.8043 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.7605, allocations: 59.86 kB / 0.8044 GB, free: 8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/0.7612, allocations: 138.8 kB / 0.8045 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.7622, allocations: 0.5039 MB / 0.805 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.7626, allocations: 0.7578 MB / 0.8058 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.7627, allocations: 23 kB / 0.8058 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.7627, allocations: 0 / 0.8058 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.006573/0.7693, allocations: 3.824 MB / 0.8095 GB, free: 5.414 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)