Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.001307/0.001307, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.001602/0.001602, allocations: 165 kB / 24.25 MB, free: 208 kB / 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 0.9872/0.9872, allocations: 177.1 MB / 204.7 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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 1.891/1.891, allocations: 389.6 MB / 0.6355 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] 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.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0.6562 kB / 0.7754 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111e-05/1.25e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.01548/0.01549, allocations: 19.28 MB / 0.7942 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0137/0.02919, allocations: 8.013 MB / 0.802 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.03085, allocations: 100.1 kB / 0.8021 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.03233, allocations: 0.6068 MB / 0.8027 GB, free: 9.277 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003128/0.03546, allocations: 1.817 MB / 0.8045 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.03734, allocations: 1.435 MB / 0.8059 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003103/0.04045, allocations: 4.298 MB / 0.8101 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.04201, allocations: 1.115 MB / 0.8112 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.04407, allocations: 2.057 MB / 0.8132 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.04535, allocations: 1.01 MB / 0.8142 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001934/0.04554, allocations: 140 kB / 0.8143 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.04664, allocations: 0.8269 MB / 0.8151 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.0469, allocations: 447 kB / 0.8156 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.04734, allocations: 0.6156 MB / 0.8162 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.04898, allocations: 1.792 MB / 0.8179 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.04898, allocations: 0 / 0.8179 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.04898, allocations: 0 / 0.8179 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.633e-05/0.049, allocations: 0 / 0.8179 GB, free: 9.723 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.00198/0.05098, allocations: 2.028 MB / 0.8199 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.05101, allocations: 9.344 kB / 0.8199 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.05239, allocations: 0.5179 MB / 0.8204 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.05357, allocations: 1.002 MB / 0.8214 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.05371, allocations: 193.3 kB / 0.8216 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.05382, allocations: 108.7 kB / 0.8217 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.05495, allocations: 1.039 MB / 0.8227 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.05497, allocations: 9.484 kB / 0.8227 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.05503, allocations: 40 kB / 0.8227 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.05506, allocations: 28 kB / 0.8228 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/0.05558, allocations: 387.3 kB / 0.8231 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.05841, allocations: 2.611 MB / 0.8257 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.05973, allocations: 0.626 MB / 0.8263 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.05997, allocations: 169.6 kB / 0.8265 GB, free: 0.7578 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.06015, allocations: 96.52 kB / 0.8265 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004144/0.06057, allocations: 449.2 kB / 0.827 GB, free: 176 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 1.894e-06/0.06057, allocations: 0 / 0.827 GB, free: 176 kB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.0006967/0.06127, allocations: 477.8 kB / 0.8274 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.06131, allocations: 60.06 kB / 0.8275 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.06234, allocations: 1.019 MB / 0.8285 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/0.0624, allocations: 45.7 kB / 0.8285 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.06264, allocations: 480.9 kB / 0.829 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.06277, allocations: 253.8 kB / 0.8292 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.06295, allocations: 170.5 kB / 0.8294 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.06304, allocations: 337.8 kB / 0.8297 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.06324, allocations: 153.3 kB / 0.8299 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.06364, allocations: 0.8334 MB / 0.8307 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.06407, allocations: 455.4 kB / 0.8311 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.06408, allocations: 0 / 0.8311 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005894/0.06467, allocations: 0.5362 MB / 0.8316 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.0647, allocations: 35.42 kB / 0.8317 GB, free: 11 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.0647, allocations: 4 kB / 0.8317 GB, free: 11 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.06472, allocations: 8 kB / 0.8317 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/0.06526, allocations: 227.8 kB / 0.8319 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.06527, allocations: 15.92 kB / 0.8319 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.06572, allocations: 139.4 kB / 0.832 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.06577, allocations: 31.95 kB / 0.8321 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003026/0.06607, allocations: 241.4 kB / 0.8323 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003913/0.06646, allocations: 0.8451 MB / 0.8331 GB, free: 9.273 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000408/0.06687, allocations: 436.5 kB / 0.8335 GB, free: 8.789 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.06687, allocations: 0 / 0.8335 GB, free: 8.789 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0005627/0.06744, allocations: 0.5441 MB / 0.8341 GB, free: 8.223 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.06745, allocations: 33.77 kB / 0.8341 GB, free: 8.184 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.06745, allocations: 4 kB / 0.8341 GB, free: 8.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.972e-06/0.06746, allocations: 8 kB / 0.8341 GB, free: 8.172 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007538/0.06821, allocations: 235.6 kB / 0.8343 GB, free: 7.941 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.06822, allocations: 11.98 kB / 0.8344 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.06865, allocations: 123.6 kB / 0.8345 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.06869, allocations: 31.97 kB / 0.8345 GB, free: 7.777 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.y,chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * 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.0001415/0.06883, allocations: 236 kB / 0.8347 GB, free: 7.539 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.06895, allocations: 111.9 kB / 0.8348 GB, free: 7.43 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007202/0.06967, allocations: 0.6129 MB / 0.8354 GB, free: 6.801 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.06968, allocations: 11.98 kB / 0.8354 GB, free: 6.789 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.06968, allocations: 3.938 kB / 0.8354 GB, free: 6.785 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003646/0.07005, allocations: 392.2 kB / 0.8358 GB, free: 6.371 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.07165, allocations: 1.451 MB / 0.8372 GB, free: 4.832 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.07165, allocations: 8 kB / 0.8372 GB, free: 4.824 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/0.07213, allocations: 196.3 kB / 0.8374 GB, free: 4.633 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.07214, allocations: 8 kB / 0.8374 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.07218, allocations: 23.97 kB / 0.8375 GB, free: 4.602 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.07218, allocations: 8 kB / 0.8375 GB, free: 4.594 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.07219, allocations: 11.94 kB / 0.8375 GB, free: 4.582 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008325/0.07302, allocations: 0.8533 MB / 0.8383 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.07329, allocations: 190.8 kB / 0.8385 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.07339, allocations: 19.98 kB / 0.8385 GB, free: 3.441 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.07382, allocations: 79.97 kB / 0.8386 GB, free: 3.363 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.07391, allocations: 72.27 kB / 0.8387 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.07395, allocations: 31.95 kB / 0.8387 GB, free: 3.262 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003733/0.07433, allocations: 0.5276 MB / 0.8392 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.07433, allocations: 0 / 0.8392 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009479/0.07528, allocations: 0.764 MB / 0.84 GB, free: 1.961 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.0004675/0.07574, allocations: 315.7 kB / 0.8403 GB, free: 1.656 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008526/0.0766, allocations: 0.8242 MB / 0.8411 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.07661, allocations: 16 kB / 0.8411 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.07712, allocations: 238.8 kB / 0.8413 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.07843, allocations: 0.6473 MB / 0.8419 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.08099, allocations: 2.353 MB / 0.8442 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.08116, allocations: 269.5 kB / 0.8445 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0006656/0.08182, allocations: 282.4 kB / 0.8448 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009128/0.08274, allocations: 0.5067 MB / 0.8453 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of SimCode: time 7.71e-07/0.08274, allocations: 0 / 0.8453 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of Templates: time 0.03906/0.1218, allocations: 30.17 MB / 0.8747 GB, free: 14.88 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.677017597481608]