Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.001844/0.001844, allocations: 80.45 kB / 19.95 MB, free: 4.609 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.002058/0.002058, allocations: 173.2 kB / 23.24 MB, free: 1.328 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.562/1.562, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.249/3.249, allocations: 389.5 MB / 0.6343 GB, free: 12.6 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.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.37e-05, allocations: 2.281 kB / 1.001 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.5977/0.5978, allocations: 55.47 MB / 1.055 GB, free: 8.477 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01829/0.6161, allocations: 12.27 MB / 1.067 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003776/0.6198, allocations: 99.88 kB / 1.067 GB, free: 28 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.004127/0.624, allocations: 0.9538 MB / 1.068 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.634, allocations: 2.532 MB / 1.071 GB, free: 13.97 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.006097/0.6401, allocations: 1.691 MB / 1.072 GB, free: 13.06 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00893/0.649, allocations: 4.394 MB / 1.077 GB, free: 10.87 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003106/0.6522, allocations: 1.038 MB / 1.078 GB, free: 10.32 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009217/0.6614, allocations: 2.384 MB / 1.08 GB, free: 9.234 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00347/0.6648, allocations: 1.049 MB / 1.081 GB, free: 8.871 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0007997/0.6656, allocations: 146.4 kB / 1.081 GB, free: 8.867 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005651/0.6713, allocations: 1.268 MB / 1.082 GB, free: 8.457 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.6726, allocations: 462.2 kB / 1.083 GB, free: 8.176 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.002507/0.6751, allocations: 0.6199 MB / 1.084 GB, free: 7.91 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.006943/0.6821, allocations: 2.926 MB / 1.086 GB, free: 6.855 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6821, allocations: 0 / 1.086 GB, free: 6.855 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6821, allocations: 0 / 1.086 GB, free: 6.855 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.847e-05/0.6821, allocations: 1.062 kB / 1.086 GB, free: 6.855 MB / 0.948 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.005375/0.6875, allocations: 2.189 MB / 1.089 GB, free: 5.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6875, allocations: 10.92 kB / 1.089 GB, free: 5.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004704/0.6922, allocations: 0.6561 MB / 1.089 GB, free: 5.289 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003391/0.6956, allocations: 1.44 MB / 1.091 GB, free: 4.469 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.6959, allocations: 202.6 kB / 1.091 GB, free: 4.305 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.6961, allocations: 100.1 kB / 1.091 GB, free: 4.273 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/0.6998, allocations: 1.545 MB / 1.092 GB, free: 3.551 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.6999, allocations: 5.312 kB / 1.092 GB, free: 3.547 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.7, allocations: 37.03 kB / 1.092 GB, free: 3.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.7, allocations: 25.45 kB / 1.092 GB, free: 3.52 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004407/0.7044, allocations: 1.441 MB / 1.094 GB, free: 3.078 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008633/0.7131, allocations: 4.023 MB / 1.098 GB, free: 0.7695 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/0.716, allocations: 0.9154 MB / 1.099 GB, free: 484 kB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.7179, allocations: 0.5972 MB / 1.099 GB, free: 312 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005332/0.7184, allocations: 116 kB / 1.099 GB, free: 288 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002447/0.7209, allocations: 0.857 MB / 1.1 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=70): time 4.148e-06/0.7209, allocations: 0 / 1.1 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70): time 0.006494/0.7274, allocations: 1.809 MB / 1.102 GB, free: 15.33 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.7275, allocations: 59.19 kB / 1.102 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003007/0.7305, allocations: 1.29 MB / 1.103 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000187/0.7307, allocations: 41.23 kB / 1.103 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.7317, allocations: 0.7006 MB / 1.104 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004709/0.7322, allocations: 248.9 kB / 1.104 GB, free: 13.78 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004716/0.7327, allocations: 178.8 kB / 1.104 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.7329, allocations: 332.7 kB / 1.105 GB, free: 13.35 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/0.7349, allocations: 0.594 MB / 1.105 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/0.7376, allocations: 1.302 MB / 1.107 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004029/0.7416, allocations: 1.216 MB / 1.108 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.7417, allocations: 5.406 kB / 1.108 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.005457/0.7471, allocations: 1.514 MB / 1.109 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.7472, allocations: 37.17 kB / 1.109 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.7472, allocations: 7.797 kB / 1.109 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-05/0.7472, allocations: 12.53 kB / 1.109 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.7487, allocations: 260.9 kB / 1.11 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-05/0.7487, allocations: 11.34 kB / 1.11 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.7507, allocations: 190.2 kB / 1.11 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.7509, allocations: 38.72 kB / 1.11 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00265/0.7535, allocations: 0.8615 MB / 1.111 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00276/0.7563, allocations: 1.294 MB / 1.112 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003877/0.7602, allocations: 1.211 MB / 1.113 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.376e-06/0.7602, allocations: 1.344 kB / 1.113 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.005022/0.7652, allocations: 1.507 MB / 1.115 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.7653, allocations: 32.23 kB / 1.115 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.7653, allocations: 3.594 kB / 1.115 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.7653, allocations: 6.844 kB / 1.115 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.7667, allocations: 268 kB / 1.115 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.7668, allocations: 7.406 kB / 1.115 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.7688, allocations: 181.4 kB / 1.115 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.769, allocations: 42.7 kB / 1.115 GB, free: 6.996 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (97): * Single equations (assignments): 96 * 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.0004466/0.7694, allocations: 239.5 kB / 1.115 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000692/0.7701, allocations: 152.2 kB / 1.115 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005263/0.7754, allocations: 1.552 MB / 1.117 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.7754, allocations: 11.73 kB / 1.117 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.7754, allocations: 1.188 kB / 1.117 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003869/0.7793, allocations: 1.309 MB / 1.118 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008923/0.7882, allocations: 2.85 MB / 1.121 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.7882, allocations: 2.719 kB / 1.121 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.7895, allocations: 233.2 kB / 1.121 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.825e-05/0.7895, allocations: 8.844 kB / 1.121 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.373e-05/0.7896, allocations: 26.98 kB / 1.121 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.356e-05/0.7896, allocations: 12.73 kB / 1.121 GB, free: 3.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/0.7897, allocations: 10.83 kB / 1.121 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006839/0.7965, allocations: 2.36 MB / 1.124 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.7977, allocations: 275.5 kB / 1.124 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005638/0.7982, allocations: 21.58 kB / 1.124 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/0.8001, allocations: 129.6 kB / 1.124 GB, free: 1.758 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.8003, allocations: 77.36 kB / 1.124 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.8004, allocations: 46.05 kB / 1.124 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001947/0.8024, allocations: 0.878 MB / 1.125 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.8024, allocations: 0 / 1.125 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00364/0.806, allocations: 0.8509 MB / 1.126 GB, free: 1.008 MB / 0.9636 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.001789/0.8078, allocations: 0.5239 MB / 1.126 GB, free: 0.7148 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006904/0.8147, allocations: 2.104 MB / 1.128 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/0.8147, allocations: 4 kB / 1.128 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.8171, allocations: 0.6948 MB / 1.129 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004412/0.8215, allocations: 0.6121 MB / 1.13 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008646/0.8302, allocations: 2.904 MB / 1.133 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.8317, allocations: 0.6795 MB / 1.133 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002364/0.8341, allocations: 358.4 kB / 1.134 GB, free: 9.973 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006374/0.8347, allocations: 132.4 kB / 1.134 GB, free: 9.844 MB / 0.9792 GB Notification: Performance of SimCode: time 2.244e-06/0.8347, allocations: 0 / 1.134 GB, free: 9.844 MB / 0.9792 GB Notification: Performance of Templates: time 0.06163/0.8964, allocations: 30.83 MB / 1.164 GB, free: 11.62 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.948478167876601]