Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 84.36 kB / 19.94 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 163.3 kB / 23.22 MB, free: 4.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.373/1.373, allocations: 177.1 MB / 203.5 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9003/0.9003, allocations: 114 MB / 373.9 MB, free: 13.26 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.5547 GB, free: 2.602 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.404e-05, allocations: 3.375 kB / 0.5547 GB, free: 2.598 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4949/0.4949, allocations: 147.7 MB / 0.6989 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008056/0.503, allocations: 5.964 MB / 0.7048 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.5034, allocations: 16.97 kB / 0.7048 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.504, allocations: 180.9 kB / 0.7049 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.5067, allocations: 0.844 MB / 0.7058 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.508, allocations: 375.5 kB / 0.7061 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.509, allocations: 0.6879 MB / 0.7068 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.5094, allocations: 200.7 kB / 0.707 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.5112, allocations: 0.8107 MB / 0.7078 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.5117, allocations: 237.7 kB / 0.708 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.5117, allocations: 24.06 kB / 0.708 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000607/0.5123, allocations: 293.2 kB / 0.7083 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.5125, allocations: 118.5 kB / 0.7084 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.5126, allocations: 111 kB / 0.7085 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007003/0.5133, allocations: 480.8 kB / 0.709 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5133, allocations: 1.688 kB / 0.709 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5133, allocations: 3.188 kB / 0.709 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.5133, allocations: 0.9688 kB / 0.709 GB, free: 6.387 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007886/0.5141, allocations: 0.5413 MB / 0.7095 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.5142, allocations: 9.906 kB / 0.7095 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.5145, allocations: 64.41 kB / 0.7096 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.5149, allocations: 254.4 kB / 0.7098 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.5149, allocations: 25.64 kB / 0.7099 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.515, allocations: 23.53 kB / 0.7099 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.5155, allocations: 322.4 kB / 0.7102 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5155, allocations: 4.969 kB / 0.7102 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.5155, allocations: 10.44 kB / 0.7102 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.5155, allocations: 11.03 kB / 0.7102 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.516, allocations: 204.6 kB / 0.7104 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.5171, allocations: 1.121 MB / 0.7115 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.5174, allocations: 108.1 kB / 0.7116 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.5176, allocations: 82.77 kB / 0.7117 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004909/0.5181, allocations: 76.75 kB / 0.7118 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.5181, allocations: 38.88 kB / 0.7118 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.5181, allocations: 3.641 kB / 0.7118 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007792/0.5189, allocations: 267.5 kB / 0.7121 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.5189, allocations: 55.09 kB / 0.7121 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.5191, allocations: 222.9 kB / 0.7123 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.5191, allocations: 27.67 kB / 0.7123 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.5192, allocations: 192.7 kB / 0.7125 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.5192, allocations: 50.08 kB / 0.7126 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.5193, allocations: 42.88 kB / 0.7126 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.5193, allocations: 332 kB / 0.7129 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.5194, allocations: 57.36 kB / 0.713 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.5196, allocations: 196 kB / 0.7132 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.52, allocations: 179.1 kB / 0.7133 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.52, allocations: 2.406 kB / 0.7133 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004113/0.5204, allocations: 209.7 kB / 0.7135 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.5204, allocations: 5.688 kB / 0.7136 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5204, allocations: 2.828 kB / 0.7136 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.5204, allocations: 9.203 kB / 0.7136 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.5206, allocations: 29.8 kB / 0.7136 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.5206, allocations: 6.203 kB / 0.7136 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.5207, allocations: 14.06 kB / 0.7136 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.5208, allocations: 10.75 kB / 0.7136 GB, free: 3.941 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 17 * 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.0001224/0.5209, allocations: 159 kB / 0.7138 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.5209, allocations: 24.55 kB / 0.7138 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004296/0.5214, allocations: 207.8 kB / 0.714 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5214, allocations: 2.594 kB / 0.714 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5214, allocations: 0 / 0.714 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5214, allocations: 7.625 kB / 0.714 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007659/0.5222, allocations: 0.5943 MB / 0.7146 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5222, allocations: 2.906 kB / 0.7146 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.5223, allocations: 32.14 kB / 0.7146 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5223, allocations: 0 / 0.7146 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.5223, allocations: 9.156 kB / 0.7146 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.5223, allocations: 3.375 kB / 0.7146 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5223, allocations: 6.594 kB / 0.7146 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.5226, allocations: 323.1 kB / 0.7149 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.5227, allocations: 38.8 kB / 0.715 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.5227, allocations: 4.906 kB / 0.715 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.5229, allocations: 10.53 kB / 0.715 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.5229, allocations: 20.16 kB / 0.715 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.5229, allocations: 11.56 kB / 0.715 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.637e-05/0.523, allocations: 159.8 kB / 0.7152 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.523, allocations: 0.8125 kB / 0.7152 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003645/0.5234, allocations: 78.94 kB / 0.7153 GB, free: 3.152 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0002377/0.5236, allocations: 137.8 kB / 0.7154 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000374/0.524, allocations: 160.2 kB / 0.7155 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.524, allocations: 0.75 kB / 0.7155 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.5242, allocations: 82.22 kB / 0.7156 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.5247, allocations: 70.69 kB / 0.7157 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007446/0.5254, allocations: 0.5192 MB / 0.7162 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.5256, allocations: 172.4 kB / 0.7164 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.5257, allocations: 55.02 kB / 0.7164 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.5257, allocations: 24.56 kB / 0.7164 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.5257, allocations: 0.875 kB / 0.7164 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of Templates: time 0.00682/0.5325, allocations: 3.469 MB / 0.7198 GB, free: 2.445 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7531960643827915] Failed to read output from testmodel.py, exit status != 0: 0.5401772633194923 0.549799859 0.033962642 Calling exit ...