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.001309/0.001309, allocations: 120.6 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.001346/0.001346, 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.338/1.338, allocations: 222.9 MB / 241.7 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.761/0.761, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 65.36 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1614, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5863/0.7477, allocations: 161.3 MB / 0.7903 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005478/0.7532, allocations: 4.546 MB / 0.7947 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005471/0.7538, allocations: 10.56 kB / 0.7948 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005501/0.7543, allocations: 127.1 kB / 0.7949 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.7556, allocations: 333.2 kB / 0.7952 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009716/0.7566, allocations: 278.9 kB / 0.7955 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008838/0.7575, allocations: 0.5551 MB / 0.796 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.7579, allocations: 213.7 kB / 0.7962 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.7591, allocations: 453.9 kB / 0.7966 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.7594, allocations: 197.9 kB / 0.7968 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.575e-05/0.7595, allocations: 15.97 kB / 0.7968 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.7598, allocations: 80.27 kB / 0.7969 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.7599, allocations: 85.98 kB / 0.797 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.76, allocations: 122.1 kB / 0.7971 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.7605, allocations: 300.6 kB / 0.7974 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7605, allocations: 0 / 0.7974 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7605, allocations: 0 / 0.7974 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.7605, allocations: 0 / 0.7974 GB, free: 13.14 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.0009143/0.7615, allocations: 0.5342 MB / 0.7979 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.7615, allocations: 7.219 kB / 0.7979 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.7616, allocations: 28.69 kB / 0.798 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.762, allocations: 292.8 kB / 0.7982 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.762, allocations: 18.66 kB / 0.7983 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.7621, allocations: 20.83 kB / 0.7983 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.7625, allocations: 259.9 kB / 0.7985 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.7625, allocations: 0 / 0.7985 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.7626, allocations: 13.28 kB / 0.7985 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.7626, allocations: 5.094 kB / 0.7985 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.7629, allocations: 145.1 kB / 0.7987 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.7643, allocations: 1.374 MB / 0.8 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.7647, allocations: 178.8 kB / 0.8002 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.7648, allocations: 94.31 kB / 0.8003 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/0.7652, allocations: 120.4 kB / 0.8004 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.7653, allocations: 44 kB / 0.8004 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.7653, allocations: 1.203 kB / 0.8004 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0005922/0.7659, allocations: 215.2 kB / 0.8006 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.766, allocations: 182.5 kB / 0.8008 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.7663, allocations: 289.2 kB / 0.8011 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.7663, allocations: 25.7 kB / 0.8011 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.7664, allocations: 150.5 kB / 0.8013 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.7665, allocations: 39.81 kB / 0.8013 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.7665, allocations: 33.27 kB / 0.8013 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7667, allocations: 334.9 kB / 0.8016 GB, free: 10 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.7668, allocations: 45.12 kB / 0.8017 GB, free: 10 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.767, allocations: 127.2 kB / 0.8018 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.7673, allocations: 154.3 kB / 0.802 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.7673, allocations: 0 / 0.802 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003639/0.7677, allocations: 193.3 kB / 0.8021 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.7677, allocations: 8.844 kB / 0.8022 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7677, allocations: 6.859 kB / 0.8022 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.7677, allocations: 2.531 kB / 0.8022 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.7679, allocations: 32.31 kB / 0.8022 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.7679, allocations: 1.406 kB / 0.8022 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.7681, allocations: 32.25 kB / 0.8022 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.7681, allocations: 8.188 kB / 0.8022 GB, free: 9.77 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.0001453/0.7683, allocations: 149.7 kB / 0.8024 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.7684, allocations: 29.97 kB / 0.8024 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.7687, allocations: 127.2 kB / 0.8025 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.7687, allocations: 2.969 kB / 0.8025 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.7687, allocations: 2.5 kB / 0.8025 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.7688, allocations: 2.781 kB / 0.8025 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008511/0.7696, allocations: 0.7742 MB / 0.8033 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.7696, allocations: 6.438 kB / 0.8033 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.7698, allocations: 22.67 kB / 0.8033 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.7698, allocations: 2.5 kB / 0.8033 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.7698, allocations: 6.656 kB / 0.8033 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.7698, allocations: 5.359 kB / 0.8033 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.7698, allocations: 6.375 kB / 0.8033 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.7703, allocations: 340.2 kB / 0.8037 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.513e-05/0.7704, allocations: 110.7 kB / 0.8038 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.7705, allocations: 2.5 kB / 0.8038 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.7706, allocations: 11.58 kB / 0.8038 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.7707, allocations: 12.94 kB / 0.8038 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.7707, allocations: 5.281 kB / 0.8038 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000176/0.7709, allocations: 212.1 kB / 0.804 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7709, allocations: 3.656 kB / 0.804 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003638/0.7712, allocations: 58.72 kB / 0.8041 GB, free: 8.527 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.000344/0.7716, allocations: 129.2 kB / 0.8042 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.7719, allocations: 129.8 kB / 0.8043 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7719, allocations: 3.438 kB / 0.8043 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.7721, allocations: 56.88 kB / 0.8044 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007433/0.7728, allocations: 129.5 kB / 0.8045 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008282/0.7737, allocations: 0.5107 MB / 0.805 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.774, allocations: 0.7553 MB / 0.8057 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.7741, allocations: 23.75 kB / 0.8057 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of SimCode: time 2e-07/0.7741, allocations: 0 / 0.8057 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of Templates: time 0.006925/0.781, allocations: 3.805 MB / 0.8095 GB, free: 5.844 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)