Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.787/1.787, allocations: 306.1 MB / 321.3 MB, free: 10.76 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 183 kB / 393.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008862/0.0008862, allocations: 97.78 kB / 0.7935 GB, free: 40.01 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 8 kB / 0.9224 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6033/0.6036, allocations: 121.3 MB / 1.041 GB, free: 58.1 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.04532/0.649, allocations: 59.96 MB / 1.099 GB, free: 13.63 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02033/0.6693, allocations: 18.36 MB / 1.117 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003576/0.673, allocations: 58.72 kB / 1.117 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003478/0.6765, allocations: 0.7992 MB / 1.118 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008806/0.6853, allocations: 2.125 MB / 1.12 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005719/0.6911, allocations: 1.417 MB / 1.122 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008783/0.6999, allocations: 5.511 MB / 1.127 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002877/0.7028, allocations: 1.092 MB / 1.128 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004439/0.7072, allocations: 1.358 MB / 1.129 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003041/0.7103, allocations: 1.159 MB / 1.131 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006466/0.711, allocations: 58.34 kB / 1.131 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004927/0.7159, allocations: 1.303 MB / 1.132 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0008365/0.7168, allocations: 334.4 kB / 1.132 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002836/0.7196, allocations: 0.8393 MB / 1.133 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00642/0.7261, allocations: 2.667 MB / 1.136 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.7261, allocations: 4.438 kB / 1.136 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7261, allocations: 3.938 kB / 1.136 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001166/0.7262, allocations: 0 / 1.136 GB, free: 5.621 MB / 0.7136 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.005868/0.7321, allocations: 1.891 MB / 1.137 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.7322, allocations: 8.656 kB / 1.137 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004299/0.7365, allocations: 0.6424 MB / 1.138 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004192/0.7407, allocations: 1.396 MB / 1.139 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002538/0.741, allocations: 143.6 kB / 1.14 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003962/0.7414, allocations: 104.1 kB / 1.14 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004152/0.7455, allocations: 1.339 MB / 1.141 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-05/0.7456, allocations: 1.438 kB / 1.141 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.7458, allocations: 41.12 kB / 1.141 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.121e-05/0.7459, allocations: 28.66 kB / 1.141 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004303/0.7502, allocations: 1.382 MB / 1.142 GB, free: 2.359 MB / 0.7136 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.009491/0.7597, allocations: 5.389 MB / 1.148 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.7623, allocations: 1.087 MB / 1.149 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.7641, allocations: 0.6293 MB / 1.149 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009402/0.765, allocations: 1.234 MB / 1.151 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001909/0.767, allocations: 0.6924 MB / 1.151 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.186e-06/0.767, allocations: 0 / 1.151 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.005448/0.7724, allocations: 1.798 MB / 1.153 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.7725, allocations: 64.25 kB / 1.153 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002946/0.7755, allocations: 1.297 MB / 1.154 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001778/0.7757, allocations: 41.7 kB / 1.154 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007251/0.7764, allocations: 0.6733 MB / 1.155 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.7767, allocations: 232.3 kB / 1.155 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.7768, allocations: 16 kB / 1.155 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.7769, allocations: 339.5 kB / 1.156 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.7785, allocations: 0.5545 MB / 1.156 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.7804, allocations: 0.7796 MB / 1.157 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/0.7837, allocations: 1.212 MB / 1.158 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.7837, allocations: 0 / 1.158 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004192/0.7879, allocations: 1.467 MB / 1.16 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.7881, allocations: 214.4 kB / 1.16 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.7881, allocations: 4 kB / 1.16 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/0.7882, allocations: 11.94 kB / 1.16 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.7895, allocations: 269.4 kB / 1.16 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.799e-05/0.7895, allocations: 8.75 kB / 1.16 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.7917, allocations: 239.4 kB / 1.16 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.7919, allocations: 46.73 kB / 1.16 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.7919, allocations: 4 kB / 1.16 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003675/0.7956, allocations: 1.316 MB / 1.162 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.7956, allocations: 4 kB / 1.162 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.7956, allocations: 4 kB / 1.162 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.7969, allocations: 272.7 kB / 1.162 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.7969, allocations: 8.609 kB / 1.162 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.7988, allocations: 240.1 kB / 1.162 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.799, allocations: 33.62 kB / 1.162 GB, free: 4.051 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009747/0.8, allocations: 417.3 kB / 1.162 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005161/0.8005, allocations: 150.7 kB / 1.163 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/0.8048, allocations: 1.53 MB / 1.164 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/0.8049, allocations: 9.359 kB / 1.164 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.8049, allocations: 7.875 kB / 1.164 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003366/0.8083, allocations: 1.295 MB / 1.165 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008883/0.8172, allocations: 3.278 MB / 1.169 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.8172, allocations: 4 kB / 1.169 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.8184, allocations: 234.4 kB / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/0.8185, allocations: 8 kB / 1.169 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.8186, allocations: 29.3 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.722e-05/0.8186, allocations: 13.2 kB / 1.169 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.8186, allocations: 7.938 kB / 1.169 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005959/0.8246, allocations: 2.327 MB / 1.171 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.8258, allocations: 367 kB / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000496/0.8263, allocations: 21.5 kB / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/0.8282, allocations: 185.5 kB / 1.172 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.8284, allocations: 73.53 kB / 1.172 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.8285, allocations: 44.95 kB / 1.172 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001932/0.8305, allocations: 0.9222 MB / 1.173 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8305, allocations: 0 / 1.173 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003268/0.8337, allocations: 0.7897 MB / 1.174 GB, free: 9.832 MB / 0.7448 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 (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.001457/0.8352, allocations: 0.5356 MB / 1.174 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005803/0.841, allocations: 2.095 MB / 1.176 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8411, allocations: 0 / 1.176 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.843, allocations: 0.7181 MB / 1.177 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005397/0.8484, allocations: 0.766 MB / 1.178 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/0.8542, allocations: 3.312 MB / 1.181 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009807/0.8552, allocations: 1.246 MB / 1.182 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002189/0.8574, allocations: 371.5 kB / 1.182 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/0.8579, allocations: 135.4 kB / 1.182 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.8579, allocations: 4 kB / 1.182 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of Templates: time 0.05489/0.9128, allocations: 31.11 MB / 1.213 GB, free: 2.668 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)