Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001967/0.001967, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.002134/0.002134, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.712/1.712, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.255/3.255, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 1.001 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.213e-05, allocations: 2.281 kB / 1.001 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7065/0.7065, allocations: 147.7 MB / 1.145 GB, free: 8.207 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.008468/0.715, allocations: 5.962 MB / 1.151 GB, free: 3.57 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.7154, allocations: 15.94 kB / 1.151 GB, free: 3.562 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006016/0.716, allocations: 179.9 kB / 1.151 GB, free: 3.406 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.7183, allocations: 0.8452 MB / 1.152 GB, free: 2.773 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.7193, allocations: 369.1 kB / 1.153 GB, free: 2.504 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008209/0.7201, allocations: 0.6929 MB / 1.153 GB, free: 2.098 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.7205, allocations: 198.5 kB / 1.153 GB, free: 1.969 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.7222, allocations: 0.8092 MB / 1.154 GB, free: 1.445 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.7225, allocations: 235.8 kB / 1.154 GB, free: 1.324 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.7226, allocations: 22.19 kB / 1.154 GB, free: 1.324 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005483/0.7231, allocations: 289.2 kB / 1.155 GB, free: 1.176 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.7233, allocations: 123.3 kB / 1.155 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.7234, allocations: 109.7 kB / 1.155 GB, free: 1.039 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007137/0.7241, allocations: 483.1 kB / 1.155 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7241, allocations: 0 / 1.155 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7241, allocations: 3.938 kB / 1.155 GB, free: 0.7344 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.7241, allocations: 0 / 1.155 GB, free: 0.7344 MB / 0.9948 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.0009157/0.725, allocations: 0.5417 MB / 1.156 GB, free: 272 kB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.7251, allocations: 11.12 kB / 1.156 GB, free: 272 kB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/0.7254, allocations: 66.7 kB / 1.156 GB, free: 236 kB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.7258, allocations: 262.7 kB / 1.156 GB, free: 15.99 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.7259, allocations: 19.59 kB / 1.156 GB, free: 15.98 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.7259, allocations: 24.81 kB / 1.156 GB, free: 15.98 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.7265, allocations: 316.9 kB / 1.157 GB, free: 15.76 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.7265, allocations: 3.25 kB / 1.157 GB, free: 15.76 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.7265, allocations: 8 kB / 1.157 GB, free: 15.75 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.7265, allocations: 12.44 kB / 1.157 GB, free: 15.75 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.7269, allocations: 201.2 kB / 1.157 GB, free: 15.66 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.7284, allocations: 1.126 MB / 1.158 GB, free: 14.67 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.7287, allocations: 115.2 kB / 1.158 GB, free: 14.6 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.7288, allocations: 83.89 kB / 1.158 GB, free: 14.56 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000454/0.7293, allocations: 73.33 kB / 1.158 GB, free: 14.53 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.7293, allocations: 32.56 kB / 1.158 GB, free: 14.49 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.7293, allocations: 0 / 1.158 GB, free: 14.49 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0007561/0.7301, allocations: 276.1 kB / 1.159 GB, free: 14.34 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.7301, allocations: 51.66 kB / 1.159 GB, free: 14.28 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.7304, allocations: 224.5 kB / 1.159 GB, free: 14.12 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.7304, allocations: 25.7 kB / 1.159 GB, free: 14.09 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.7306, allocations: 198.6 kB / 1.159 GB, free: 13.91 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.7306, allocations: 41.11 kB / 1.159 GB, free: 13.87 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/0.7307, allocations: 37.94 kB / 1.159 GB, free: 13.84 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.7309, allocations: 329.4 kB / 1.159 GB, free: 13.52 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.7311, allocations: 63.3 kB / 1.159 GB, free: 13.48 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.7313, allocations: 190.5 kB / 1.16 GB, free: 13.31 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.7317, allocations: 176.4 kB / 1.16 GB, free: 13.19 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7317, allocations: 3.094 kB / 1.16 GB, free: 13.19 MB / 1.01 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004264/0.7321, allocations: 214.8 kB / 1.16 GB, free: 13.07 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.7321, allocations: 5.25 kB / 1.16 GB, free: 13.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.7321, allocations: 3.938 kB / 1.16 GB, free: 13.06 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.7321, allocations: 2.344 kB / 1.16 GB, free: 13.06 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.7323, allocations: 30.86 kB / 1.16 GB, free: 13.06 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.7323, allocations: 6.75 kB / 1.16 GB, free: 13.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.7325, allocations: 27.66 kB / 1.16 GB, free: 13.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.7325, allocations: 6.656 kB / 1.16 GB, free: 13.04 MB / 1.01 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.0001658/0.7327, allocations: 149.3 kB / 1.16 GB, free: 12.9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.7327, allocations: 22.34 kB / 1.16 GB, free: 12.89 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004507/0.7332, allocations: 215.2 kB / 1.16 GB, free: 12.75 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.7332, allocations: 0.6875 kB / 1.16 GB, free: 12.75 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7332, allocations: 2.719 kB / 1.16 GB, free: 12.75 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.7332, allocations: 4 kB / 1.16 GB, free: 12.75 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.7342, allocations: 0.5993 MB / 1.161 GB, free: 12.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.7342, allocations: 3.938 kB / 1.161 GB, free: 12.26 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.7343, allocations: 31.77 kB / 1.161 GB, free: 12.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.7343, allocations: 2.906 kB / 1.161 GB, free: 12.25 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.7343, allocations: 10.47 kB / 1.161 GB, free: 12.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.7343, allocations: 2.375 kB / 1.161 GB, free: 12.25 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7343, allocations: 3.094 kB / 1.161 GB, free: 12.25 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.7348, allocations: 328.2 kB / 1.161 GB, free: 11.98 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.272e-05/0.7349, allocations: 30.97 kB / 1.161 GB, free: 11.96 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.7349, allocations: 5.25 kB / 1.161 GB, free: 11.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.7351, allocations: 10.86 kB / 1.161 GB, free: 11.95 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.7351, allocations: 19.55 kB / 1.161 GB, free: 11.94 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.7351, allocations: 9.781 kB / 1.161 GB, free: 11.93 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001626/0.7353, allocations: 157.1 kB / 1.162 GB, free: 11.82 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.7353, allocations: 0 / 1.162 GB, free: 11.82 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003768/0.7357, allocations: 84.53 kB / 1.162 GB, free: 11.79 MB / 1.01 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.0002696/0.7359, allocations: 146.1 kB / 1.162 GB, free: 11.68 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.7363, allocations: 146.5 kB / 1.162 GB, free: 11.61 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7363, allocations: 0 / 1.162 GB, free: 11.61 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.7365, allocations: 83.09 kB / 1.162 GB, free: 11.57 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.7371, allocations: 81.8 kB / 1.162 GB, free: 11.54 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008686/0.738, allocations: 0.5119 MB / 1.163 GB, free: 11.14 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.7381, allocations: 174.3 kB / 1.163 GB, free: 11.02 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.7383, allocations: 44.42 kB / 1.163 GB, free: 11 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.7383, allocations: 21.78 kB / 1.163 GB, free: 10.99 MB / 1.01 GB Notification: Performance of SimCode: time 4.6e-07/0.7383, allocations: 0 / 1.163 GB, free: 10.99 MB / 1.01 GB Notification: Performance of Templates: time 0.008526/0.7469, allocations: 3.489 MB / 1.166 GB, free: 8.465 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.007211348973215]