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.0009949/0.0009949, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001748/0.001748, allocations: 161 kB / 24.17 MB, free: 332 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.9737/0.9737, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.952/1.952, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.363e-06/1.363e-06, allocations: 0 / 0.7752 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.469e-05, allocations: 4.562 kB / 0.7752 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.01448/0.01449, allocations: 19.28 MB / 0.794 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.02485, allocations: 8.046 MB / 0.8019 GB, free: 9.91 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.02608, allocations: 103.1 kB / 0.802 GB, free: 9.809 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.02718, allocations: 0.6059 MB / 0.8026 GB, free: 9.199 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.03003, allocations: 1.826 MB / 0.8044 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.03239, allocations: 1.45 MB / 0.8058 GB, free: 5.934 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003922/0.03631, allocations: 4.291 MB / 0.81 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.03791, allocations: 1.123 MB / 0.8111 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.04024, allocations: 2.044 MB / 0.8131 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.04127, allocations: 1.014 MB / 0.8141 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.04142, allocations: 140 kB / 0.8142 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.04267, allocations: 0.8269 MB / 0.815 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003512/0.04303, allocations: 455 kB / 0.8154 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004814/0.04351, allocations: 0.6078 MB / 0.816 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.04521, allocations: 1.792 MB / 0.8178 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.04521, allocations: 0 / 0.8178 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.04522, allocations: 0 / 0.8178 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.04523, allocations: 0 / 0.8178 GB, free: 9.629 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.002118/0.04735, allocations: 2.028 MB / 0.8198 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.04738, allocations: 13.34 kB / 0.8198 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.049, allocations: 0.5148 MB / 0.8203 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.05017, allocations: 1.002 MB / 0.8213 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.05029, allocations: 202 kB / 0.8214 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.05041, allocations: 104 kB / 0.8215 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.05153, allocations: 1.047 MB / 0.8226 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.05155, allocations: 5.062 kB / 0.8226 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/0.05161, allocations: 40 kB / 0.8226 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/0.05164, allocations: 24 kB / 0.8226 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/0.05226, allocations: 391.5 kB / 0.823 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.0554, allocations: 2.602 MB / 0.8256 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.05677, allocations: 0.6223 MB / 0.8262 GB, free: 0.832 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.05701, allocations: 185.5 kB / 0.8263 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.05718, allocations: 84.59 kB / 0.8264 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003834/0.05756, allocations: 445.2 kB / 0.8268 GB, free: 80 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 2.024e-06/0.05757, allocations: 4 kB / 0.8268 GB, free: 76 kB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.0006923/0.05826, allocations: 481.8 kB / 0.8273 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.05829, allocations: 60 kB / 0.8274 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006756/0.05897, allocations: 1.015 MB / 0.8284 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.05902, allocations: 45.7 kB / 0.8284 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.05925, allocations: 480.9 kB / 0.8289 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.0594, allocations: 253.8 kB / 0.8291 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.05958, allocations: 174.5 kB / 0.8293 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.05966, allocations: 341.8 kB / 0.8296 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.05987, allocations: 145.3 kB / 0.8297 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/0.06054, allocations: 0.8373 MB / 0.8305 GB, free: 12 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/0.06099, allocations: 447.4 kB / 0.831 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.06099, allocations: 0 / 0.831 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006056/0.0616, allocations: 0.5358 MB / 0.8315 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.06163, allocations: 33.7 kB / 0.8315 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.06164, allocations: 4.406 kB / 0.8315 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.06165, allocations: 12 kB / 0.8315 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.06222, allocations: 239.6 kB / 0.8318 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.06223, allocations: 4 kB / 0.8318 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.06269, allocations: 131.5 kB / 0.8319 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/0.06274, allocations: 43.89 kB / 0.8319 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003209/0.06306, allocations: 233.5 kB / 0.8322 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004037/0.06347, allocations: 0.8412 MB / 0.833 GB, free: 9.184 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004253/0.06389, allocations: 444.5 kB / 0.8334 GB, free: 8.691 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.06389, allocations: 0 / 0.8334 GB, free: 8.691 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0005874/0.06448, allocations: 0.5358 MB / 0.8339 GB, free: 8.133 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.0645, allocations: 33.7 kB / 0.834 GB, free: 8.094 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.0645, allocations: 4 kB / 0.834 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.112e-06/0.06451, allocations: 8 kB / 0.834 GB, free: 8.082 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.06504, allocations: 236 kB / 0.8342 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.06505, allocations: 8 kB / 0.8342 GB, free: 7.844 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.06549, allocations: 123.6 kB / 0.8343 GB, free: 7.723 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.06554, allocations: 39.97 kB / 0.8344 GB, free: 7.684 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.0001476/0.06569, allocations: 236 kB / 0.8346 GB, free: 7.445 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.06581, allocations: 107.9 kB / 0.8347 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007678/0.06658, allocations: 0.6206 MB / 0.8353 GB, free: 6.703 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.06659, allocations: 7.984 kB / 0.8353 GB, free: 6.695 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.06659, allocations: 8 kB / 0.8353 GB, free: 6.688 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003846/0.06698, allocations: 388.2 kB / 0.8357 GB, free: 6.277 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.06866, allocations: 1.447 MB / 0.8371 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.06867, allocations: 8 kB / 0.8371 GB, free: 4.734 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/0.06943, allocations: 192 kB / 0.8373 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.892e-06/0.06944, allocations: 11.98 kB / 0.8373 GB, free: 4.535 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.06948, allocations: 23.97 kB / 0.8373 GB, free: 4.512 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.06949, allocations: 8 kB / 0.8373 GB, free: 4.504 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.06949, allocations: 7.938 kB / 0.8373 GB, free: 4.496 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000873/0.07036, allocations: 0.8572 MB / 0.8382 GB, free: 3.559 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.07063, allocations: 186.8 kB / 0.8384 GB, free: 3.375 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-05/0.07073, allocations: 19.98 kB / 0.8384 GB, free: 3.355 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/0.07119, allocations: 79.97 kB / 0.8385 GB, free: 3.277 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.689e-05/0.07128, allocations: 80.25 kB / 0.8385 GB, free: 3.199 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.07134, allocations: 31.97 kB / 0.8386 GB, free: 3.168 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003848/0.07172, allocations: 0.5237 MB / 0.8391 GB, free: 2.637 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.07172, allocations: 0 / 0.8391 GB, free: 2.637 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001039/0.07276, allocations: 0.7679 MB / 0.8398 GB, free: 1.867 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.0005032/0.07326, allocations: 313.7 kB / 0.8401 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008983/0.07416, allocations: 0.8327 MB / 0.8409 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.07417, allocations: 12 kB / 0.8409 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.07446, allocations: 230.1 kB / 0.8412 GB, free: 476 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.07583, allocations: 0.6634 MB / 0.8418 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.07887, allocations: 2.352 MB / 0.8441 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.07905, allocations: 265.5 kB / 0.8444 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0007646/0.07982, allocations: 278.4 kB / 0.8446 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/0.08083, allocations: 0.5107 MB / 0.8451 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of SimCode: time 1.513e-06/0.08083, allocations: 0 / 0.8451 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of Templates: time 0.03234/0.1132, allocations: 30.14 MB / 0.8746 GB, free: 14.81 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.732910741120577]