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.001234/0.001234, allocations: 80.92 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.001338/0.001338, 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.9366/0.9366, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.993/1.993, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.523e-06/1.523e-06, allocations: 0.5469 kB / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.444e-05, allocations: 3.531 kB / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.01405/0.01407, allocations: 19.24 MB / 0.794 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01011/0.02418, allocations: 8.039 MB / 0.8018 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.02572, allocations: 95.91 kB / 0.8019 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.0269, allocations: 0.606 MB / 0.8025 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003296/0.03019, allocations: 1.834 MB / 0.8043 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.03254, allocations: 1.469 MB / 0.8057 GB, free: 6.129 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004516/0.03706, allocations: 4.305 MB / 0.8099 GB, free: 1.82 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.03888, allocations: 1.091 MB / 0.811 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003796/0.04267, allocations: 2.109 MB / 0.8131 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.04429, allocations: 1.002 MB / 0.814 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0003363/0.04463, allocations: 140 kB / 0.8142 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.04606, allocations: 0.8108 MB / 0.815 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000381/0.04644, allocations: 450.9 kB / 0.8154 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0008005/0.04724, allocations: 0.6156 MB / 0.816 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.0497, allocations: 1.788 MB / 0.8177 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.04971, allocations: 0 / 0.8177 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.503e-06/0.04971, allocations: 0 / 0.8177 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.342e-05/0.04975, allocations: 1.344 kB / 0.8177 GB, free: 9.793 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.002411/0.05216, allocations: 2.031 MB / 0.8197 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.0522, allocations: 10.19 kB / 0.8197 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.05388, allocations: 0.5148 MB / 0.8202 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.05526, allocations: 1.002 MB / 0.8212 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.0554, allocations: 200.8 kB / 0.8214 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.05553, allocations: 105.9 kB / 0.8215 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.05669, allocations: 1.038 MB / 0.8225 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.05671, allocations: 3.984 kB / 0.8225 GB, free: 4.738 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.05678, allocations: 41.16 kB / 0.8226 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.633e-05/0.05681, allocations: 27.94 kB / 0.8226 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/0.05737, allocations: 383.3 kB / 0.823 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.06062, allocations: 2.614 MB / 0.8255 GB, free: 1.633 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.06198, allocations: 0.6258 MB / 0.8261 GB, free: 1.004 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.06224, allocations: 173.5 kB / 0.8263 GB, free: 0.832 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.06245, allocations: 92.59 kB / 0.8264 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00043/0.06288, allocations: 449.2 kB / 0.8268 GB, free: 256 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 2.385e-06/0.06288, allocations: 3.938 kB / 0.8268 GB, free: 252 kB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.000777/0.06366, allocations: 473.8 kB / 0.8273 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.0637, allocations: 60.06 kB / 0.8273 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007544/0.06445, allocations: 1.012 MB / 0.8283 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/0.06451, allocations: 45.7 kB / 0.8283 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.06476, allocations: 480.9 kB / 0.8288 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.06491, allocations: 257.8 kB / 0.829 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.0651, allocations: 166.5 kB / 0.8292 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.06519, allocations: 341.8 kB / 0.8295 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.0654, allocations: 157.3 kB / 0.8297 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.06585, allocations: 0.8334 MB / 0.8305 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.06632, allocations: 451.3 kB / 0.8309 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.06633, allocations: 0 / 0.8309 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006521/0.06698, allocations: 0.5323 MB / 0.8314 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.06702, allocations: 37.69 kB / 0.8315 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.06702, allocations: 4 kB / 0.8315 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.06704, allocations: 8 kB / 0.8315 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.06757, allocations: 219.7 kB / 0.8317 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.06758, allocations: 7.938 kB / 0.8317 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/0.06811, allocations: 127.5 kB / 0.8318 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/0.06817, allocations: 35.97 kB / 0.8319 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003634/0.06854, allocations: 233.5 kB / 0.8321 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004414/0.06898, allocations: 0.8374 MB / 0.8329 GB, free: 9.395 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004358/0.06941, allocations: 444.5 kB / 0.8333 GB, free: 8.902 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.06942, allocations: 0 / 0.8333 GB, free: 8.902 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0006177/0.07003, allocations: 0.5363 MB / 0.8339 GB, free: 8.344 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.07007, allocations: 37.77 kB / 0.8339 GB, free: 8.301 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.07007, allocations: 7.938 kB / 0.8339 GB, free: 8.293 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.07008, allocations: 15.97 kB / 0.8339 GB, free: 8.277 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.07057, allocations: 207.7 kB / 0.8341 GB, free: 8.074 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.07058, allocations: 11.94 kB / 0.8341 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005162/0.07109, allocations: 131.5 kB / 0.8342 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.07115, allocations: 35.95 kB / 0.8343 GB, free: 7.898 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.0001937/0.07134, allocations: 232 kB / 0.8345 GB, free: 7.664 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.07147, allocations: 107.9 kB / 0.8346 GB, free: 7.559 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007984/0.07227, allocations: 0.6245 MB / 0.8352 GB, free: 6.918 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.07228, allocations: 8 kB / 0.8352 GB, free: 6.91 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.07228, allocations: 0 / 0.8352 GB, free: 6.91 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003869/0.07267, allocations: 400.1 kB / 0.8356 GB, free: 6.488 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.0746, allocations: 1.443 MB / 0.837 GB, free: 4.957 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.0746, allocations: 4 kB / 0.837 GB, free: 4.953 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.07506, allocations: 180.3 kB / 0.8372 GB, free: 4.777 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.07507, allocations: 8 kB / 0.8372 GB, free: 4.77 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.07511, allocations: 23.97 kB / 0.8372 GB, free: 4.746 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.07512, allocations: 11.94 kB / 0.8372 GB, free: 4.734 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.07512, allocations: 4 kB / 0.8372 GB, free: 4.73 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/0.07605, allocations: 0.8611 MB / 0.8381 GB, free: 3.789 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/0.07638, allocations: 190.8 kB / 0.8383 GB, free: 3.602 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.07649, allocations: 23.98 kB / 0.8383 GB, free: 3.578 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/0.07695, allocations: 79.97 kB / 0.8384 GB, free: 3.5 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.07705, allocations: 72.27 kB / 0.8384 GB, free: 3.43 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.434e-05/0.07711, allocations: 35.95 kB / 0.8385 GB, free: 3.395 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004374/0.07754, allocations: 0.5198 MB / 0.839 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.07754, allocations: 0 / 0.839 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001326/0.07887, allocations: 0.764 MB / 0.8397 GB, free: 2.102 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.0006004/0.07947, allocations: 316.3 kB / 0.84 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.08055, allocations: 0.8323 MB / 0.8408 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.756e-05/0.08057, allocations: 12 kB / 0.8408 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.08086, allocations: 238.5 kB / 0.8411 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.08231, allocations: 0.6464 MB / 0.8417 GB, free: 52 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.08551, allocations: 2.352 MB / 0.844 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.0857, allocations: 265.5 kB / 0.8442 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001/0.0867, allocations: 290.3 kB / 0.8445 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009867/0.08769, allocations: 0.5067 MB / 0.845 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of SimCode: time 1.523e-06/0.08769, allocations: 0 / 0.845 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of Templates: time 0.03623/0.1239, allocations: 30.14 MB / 0.8745 GB, free: 15.05 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.856331069022417]