Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.82/1.82, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.3 kB / 393.1 MB, free: 4.094 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.569/1.569, allocations: 225.7 MB / 0.6743 GB, free: 12.53 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.0009504/0.0009505, allocations: 99.5 kB / 0.7935 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004009, allocations: 8 kB / 0.9224 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.6009, allocations: 121.3 MB / 1.041 GB, free: 58.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.04248/0.6435, allocations: 59.97 MB / 1.099 GB, free: 13.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01826/0.6618, allocations: 18.22 MB / 1.117 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003371/0.6652, allocations: 63.81 kB / 1.117 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.668, allocations: 0.7954 MB / 1.118 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00675/0.6747, allocations: 2.133 MB / 1.12 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004418/0.6792, allocations: 1.404 MB / 1.122 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00883/0.688, allocations: 5.506 MB / 1.127 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003213/0.6913, allocations: 1.095 MB / 1.128 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005235/0.6966, allocations: 1.364 MB / 1.129 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003466/0.7001, allocations: 1.146 MB / 1.13 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003613/0.7004, allocations: 58.84 kB / 1.13 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003859/0.7043, allocations: 1.279 MB / 1.132 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005394/0.7049, allocations: 315.1 kB / 1.132 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001992/0.7069, allocations: 0.8376 MB / 1.133 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005532/0.7124, allocations: 2.617 MB / 1.135 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.7125, allocations: 1.219 kB / 1.135 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.865e-06/0.7125, allocations: 4 kB / 1.135 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.997e-05/0.7125, allocations: 0 / 1.135 GB, free: 6.082 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.004652/0.7172, allocations: 1.868 MB / 1.137 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.7173, allocations: 8.75 kB / 1.137 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003732/0.721, allocations: 0.6404 MB / 1.138 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/0.7244, allocations: 1.372 MB / 1.139 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.7247, allocations: 143.9 kB / 1.139 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.7249, allocations: 103.5 kB / 1.139 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003446/0.7284, allocations: 1.338 MB / 1.141 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.7285, allocations: 5.625 kB / 1.141 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.7286, allocations: 39.91 kB / 1.141 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/0.7286, allocations: 31.36 kB / 1.141 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003879/0.7325, allocations: 1.372 MB / 1.142 GB, free: 2.844 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.009627/0.7422, allocations: 5.36 MB / 1.147 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005679/0.7479, allocations: 1.478 MB / 1.149 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/0.7498, allocations: 0.6192 MB / 1.149 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.7509, allocations: 1.238 MB / 1.151 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002124/0.7531, allocations: 0.6789 MB / 1.151 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.788e-06/0.7531, allocations: 3.938 kB / 1.151 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.00587/0.759, allocations: 1.779 MB / 1.153 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.7591, allocations: 59.98 kB / 1.153 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/0.7617, allocations: 1.25 MB / 1.154 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.7619, allocations: 42.45 kB / 1.154 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007132/0.7626, allocations: 0.6562 MB / 1.155 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/0.7629, allocations: 232.3 kB / 1.155 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.763, allocations: 16 kB / 1.155 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7631, allocations: 335.6 kB / 1.156 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.7648, allocations: 0.5501 MB / 1.156 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.7667, allocations: 0.7719 MB / 1.157 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/0.7698, allocations: 1.192 MB / 1.158 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7699, allocations: 3.938 kB / 1.158 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004144/0.774, allocations: 1.455 MB / 1.159 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.7742, allocations: 209.1 kB / 1.16 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.7743, allocations: 4.609 kB / 1.16 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.7743, allocations: 8 kB / 1.16 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.7756, allocations: 273.7 kB / 1.16 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-05/0.7756, allocations: 8.656 kB / 1.16 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.7775, allocations: 235.9 kB / 1.16 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.7777, allocations: 42.23 kB / 1.16 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.7777, allocations: 4 kB / 1.16 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003666/0.7814, allocations: 1.296 MB / 1.161 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.7814, allocations: 4 kB / 1.161 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.7815, allocations: 8.969 kB / 1.161 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.7828, allocations: 272.3 kB / 1.162 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.7828, allocations: 4.562 kB / 1.162 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.7848, allocations: 244.1 kB / 1.162 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.785, allocations: 45.48 kB / 1.162 GB, free: 4.328 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.0008529/0.7858, allocations: 403.8 kB / 1.162 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004845/0.7863, allocations: 151 kB / 1.163 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004484/0.7908, allocations: 1.509 MB / 1.164 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.7909, allocations: 9.453 kB / 1.164 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.7909, allocations: 3.938 kB / 1.164 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003385/0.7943, allocations: 1.295 MB / 1.165 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008827/0.8031, allocations: 3.231 MB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/0.8032, allocations: 4 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/0.8045, allocations: 234.4 kB / 1.169 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-05/0.8045, allocations: 8 kB / 1.169 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.8046, allocations: 25.25 kB / 1.169 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-05/0.8046, allocations: 17.19 kB / 1.169 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.726e-05/0.8047, allocations: 7.938 kB / 1.169 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005976/0.8106, allocations: 2.303 MB / 1.171 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.8118, allocations: 370.6 kB / 1.171 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005666/0.8124, allocations: 17.59 kB / 1.171 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/0.8144, allocations: 186.9 kB / 1.172 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/0.8146, allocations: 77.91 kB / 1.172 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.8147, allocations: 36.77 kB / 1.172 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001953/0.8167, allocations: 0.8863 MB / 1.172 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8167, allocations: 0 / 1.172 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003488/0.8202, allocations: 0.7858 MB / 1.173 GB, free: 10.24 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.001449/0.8217, allocations: 0.5225 MB / 1.174 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005903/0.8276, allocations: 2.071 MB / 1.176 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.8276, allocations: 0 / 1.176 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002054/0.8297, allocations: 0.7096 MB / 1.176 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005523/0.8353, allocations: 0.7657 MB / 1.177 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006301/0.8416, allocations: 3.246 MB / 1.18 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.8427, allocations: 1.23 MB / 1.182 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002333/0.845, allocations: 367.3 kB / 1.182 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/0.8456, allocations: 127.4 kB / 1.182 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/0.8456, allocations: 0 / 1.182 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of Templates: time 0.05757/0.9032, allocations: 30.78 MB / 1.212 GB, free: 3.43 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)