Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.4 MB / 222.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000546/0.0005461, allocations: 11.53 kB / 0.6735 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2497, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.0453/0.2951, allocations: 50.6 MB / 0.8365 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.3123, allocations: 11.28 MB / 0.8475 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.3148, allocations: 55.56 kB / 0.8476 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.3177, allocations: 0.9213 MB / 0.8485 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006809/0.3245, allocations: 2.226 MB / 0.8507 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004617/0.3292, allocations: 1.726 MB / 0.8523 GB, free: 9.039 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005055/0.3342, allocations: 2.538 MB / 0.8548 GB, free: 6.5 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.336, allocations: 0.9896 MB / 0.8558 GB, free: 5.488 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.3382, allocations: 1.172 MB / 0.8569 GB, free: 4.312 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.3392, allocations: 0.7893 MB / 0.8577 GB, free: 3.52 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.3393, allocations: 56 kB / 0.8578 GB, free: 3.465 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.3416, allocations: 0.9362 MB / 0.8587 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.3419, allocations: 302.7 kB / 0.859 GB, free: 2.23 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003658/0.3422, allocations: 356.8 kB / 0.8593 GB, free: 1.875 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.3442, allocations: 1.89 MB / 0.8611 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.3443, allocations: 0 / 0.8611 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3443, allocations: 0 / 0.8611 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.019e-05/0.3443, allocations: 0 / 0.8611 GB, free: 15.98 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003139/0.3474, allocations: 1.894 MB / 0.863 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3475, allocations: 8.031 kB / 0.863 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.3507, allocations: 0.634 MB / 0.8636 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.3526, allocations: 1.238 MB / 0.8648 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.3528, allocations: 145.4 kB / 0.865 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.3529, allocations: 100 kB / 0.8651 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.3556, allocations: 1.326 MB / 0.8664 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.3556, allocations: 7.938 kB / 0.8664 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.582e-05/0.3557, allocations: 39.98 kB / 0.8664 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.3557, allocations: 32 kB / 0.8664 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/0.3591, allocations: 1.378 MB / 0.8678 GB, free: 9.02 MB / 0.6856 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.0073/0.3664, allocations: 5.394 MB / 0.873 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/0.3689, allocations: 1.12 MB / 0.8741 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008676/0.3697, allocations: 1.232 MB / 0.8753 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001663/0.3714, allocations: 0.6901 MB / 0.876 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=69): time 2.996e-06/0.3714, allocations: 0 / 0.876 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69): time 0.004862/0.3763, allocations: 1.793 MB / 0.8778 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.3764, allocations: 59.97 kB / 0.8778 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.378, allocations: 1.296 MB / 0.8791 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.3781, allocations: 49.7 kB / 0.8791 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005859/0.3787, allocations: 0.666 MB / 0.8798 GB, free: 12 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.3789, allocations: 240.5 kB / 0.88 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.379, allocations: 19.94 kB / 0.88 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3791, allocations: 341.9 kB / 0.8804 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.3806, allocations: 0.5485 MB / 0.8809 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.3822, allocations: 0.7704 MB / 0.8817 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.3837, allocations: 0.6019 MB / 0.8822 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3837, allocations: 0 / 0.8822 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00361/0.3873, allocations: 1.473 MB / 0.8837 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005307/0.3879, allocations: 1.199 MB / 0.8849 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3879, allocations: 4 kB / 0.8849 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.3879, allocations: 4 kB / 0.8849 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.3891, allocations: 283.6 kB / 0.8851 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.3892, allocations: 11.94 kB / 0.8851 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.3908, allocations: 235.1 kB / 0.8854 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.574e-05/0.3909, allocations: 39.97 kB / 0.8854 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.3909, allocations: 4 kB / 0.8854 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003212/0.3941, allocations: 1.309 MB / 0.8867 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3942, allocations: 4 kB / 0.8867 GB, free: 4.699 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.3942, allocations: 11.98 kB / 0.8867 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.3953, allocations: 275.9 kB / 0.887 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3954, allocations: 11.98 kB / 0.887 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.3968, allocations: 239 kB / 0.8872 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/0.3969, allocations: 35.98 kB / 0.8872 GB, free: 4.137 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007298/0.3976, allocations: 424.8 kB / 0.8876 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.3978, allocations: 146.2 kB / 0.8878 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.4014, allocations: 1.532 MB / 0.8893 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.4015, allocations: 12 kB / 0.8893 GB, free: 2 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4015, allocations: 4 kB / 0.8893 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002978/0.4045, allocations: 1.296 MB / 0.8906 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005856/0.4103, allocations: 3.265 MB / 0.8937 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.4103, allocations: 4 kB / 0.8938 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.4114, allocations: 236 kB / 0.894 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.4114, allocations: 8 kB / 0.894 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.249e-05/0.4115, allocations: 23.98 kB / 0.894 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.4115, allocations: 7.984 kB / 0.894 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.4115, allocations: 11.94 kB / 0.894 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005118/0.4166, allocations: 2.62 MB / 0.8966 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007299/0.4174, allocations: 374.8 kB / 0.8969 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/0.4177, allocations: 19.98 kB / 0.897 GB, free: 9.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.4191, allocations: 183.7 kB / 0.8971 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.4192, allocations: 76.36 kB / 0.8972 GB, free: 9.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.4193, allocations: 39.95 kB / 0.8972 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001285/0.4206, allocations: 0.9254 MB / 0.8982 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4206, allocations: 4 kB / 0.8982 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002001/0.4226, allocations: 0.7953 MB / 0.8989 GB, free: 7.66 MB / 0.7169 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 (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.4237, allocations: 0.512 MB / 0.8994 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005094/0.4288, allocations: 2.089 MB / 0.9015 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4288, allocations: 4 kB / 0.9015 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.4306, allocations: 0.7147 MB / 0.9022 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/0.4349, allocations: 0.743 MB / 0.9029 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00814/0.443, allocations: 3.202 MB / 0.906 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/0.4446, allocations: 1.276 MB / 0.9073 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002959/0.4476, allocations: 365.5 kB / 0.9076 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006142/0.4482, allocations: 127.4 kB / 0.9077 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of SimCode: time 1.132e-06/0.4482, allocations: 3.938 kB / 0.9077 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of Templates: time 0.4921/0.9403, allocations: 29.41 MB / 0.9365 GB, free: 129.2 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) Environment - environmentSimulation: