Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.36/2.36, allocations: 254.9 MB / 269.9 MB, free: 9.613 MB / 218.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.001342/0.001341, allocations: 192.7 kB / 329.5 MB, free: 1.145 MB / 250.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 2.468/2.468, allocations: 225.6 MB / 0.6001 GB, free: 2.223 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009782/0.0009778, allocations: 86.92 kB / 0.7074 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004987, allocations: 10.94 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2276, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.0824/0.31, allocations: 55.73 MB / 0.9852 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02958/0.3397, allocations: 12.22 MB / 0.9971 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.3424, allocations: 59.56 kB / 0.9972 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003469/0.3459, allocations: 0.6987 MB / 0.9978 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007848/0.3538, allocations: 1.83 MB / 0.9996 GB, free: 2.395 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.005351/0.3592, allocations: 1.115 MB / 1.001 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008994/0.3682, allocations: 4.777 MB / 1.005 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002927/0.3711, allocations: 1.032 MB / 1.006 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004604/0.3758, allocations: 1.295 MB / 1.008 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003089/0.3789, allocations: 1.093 MB / 1.009 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0005326/0.3795, allocations: 56 kB / 1.009 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004353/0.3838, allocations: 0.9862 MB / 1.01 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0008047/0.3847, allocations: 314.6 kB / 1.01 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008674/0.3856, allocations: 352.8 kB / 1.01 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004423/0.39, allocations: 1.925 MB / 1.012 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.39, allocations: 4 kB / 1.012 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3901, allocations: 4 kB / 1.012 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.916e-05/0.3901, allocations: 3.938 kB / 1.012 GB, free: 5.387 MB / 0.6511 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.005466/0.3956, allocations: 1.882 MB / 1.014 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3957, allocations: 8.031 kB / 1.014 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006317/0.402, allocations: 0.6386 MB / 1.015 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003831/0.4058, allocations: 1.311 MB / 1.016 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.4061, allocations: 145.3 kB / 1.016 GB, free: 1.273 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002768/0.4064, allocations: 100 kB / 1.016 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6441/1.05, allocations: 1.319 MB / 1.018 GB, free: 87.21 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.525e-05/1.051, allocations: 1.344 kB / 1.018 GB, free: 87.21 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/1.051, allocations: 37.95 kB / 1.018 GB, free: 87.21 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/1.051, allocations: 26.77 kB / 1.018 GB, free: 87.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007558/1.058, allocations: 1.377 MB / 1.019 GB, free: 87.13 MB / 0.6511 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.01283/1.071, allocations: 5.334 MB / 1.024 GB, free: 83.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/1.082, allocations: 1.492 MB / 1.026 GB, free: 83.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003323/1.085, allocations: 0.6149 MB / 1.026 GB, free: 83.05 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/1.086, allocations: 1.236 MB / 1.027 GB, free: 81.62 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003562/1.09, allocations: 0.6844 MB / 1.028 GB, free: 81.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 5.561e-06/1.09, allocations: 0 / 1.028 GB, free: 81.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.01031/1.1, allocations: 1.764 MB / 1.03 GB, free: 80.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/1.1, allocations: 63.48 kB / 1.03 GB, free: 80.89 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/1.103, allocations: 1.244 MB / 1.031 GB, free: 80.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002965/1.104, allocations: 45.48 kB / 1.031 GB, free: 80.37 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008571/1.105, allocations: 0.6591 MB / 1.032 GB, free: 79.88 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004634/1.105, allocations: 239.1 kB / 1.032 GB, free: 79.69 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/1.105, allocations: 16.22 kB / 1.032 GB, free: 79.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.105, allocations: 340.5 kB / 1.032 GB, free: 79.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/1.108, allocations: 0.5399 MB / 1.033 GB, free: 79.22 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00335/1.112, allocations: 0.7664 MB / 1.034 GB, free: 78.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003181/1.115, allocations: 0.5992 MB / 1.034 GB, free: 78.63 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/1.115, allocations: 1.219 kB / 1.034 GB, free: 78.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.007278/1.122, allocations: 1.447 MB / 1.036 GB, free: 78.14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/1.123, allocations: 202.7 kB / 1.036 GB, free: 77.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.123, allocations: 8.062 kB / 1.036 GB, free: 77.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.414e-05/1.123, allocations: 6.391 kB / 1.036 GB, free: 77.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/1.125, allocations: 276.7 kB / 1.036 GB, free: 77.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.598e-05/1.125, allocations: 7.234 kB / 1.036 GB, free: 77.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003132/1.128, allocations: 246.1 kB / 1.036 GB, free: 77.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/1.129, allocations: 39.84 kB / 1.036 GB, free: 77.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.129, allocations: 4.031 kB / 1.036 GB, free: 77.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006668/1.135, allocations: 1.301 MB / 1.038 GB, free: 77.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/1.135, allocations: 3.609 kB / 1.038 GB, free: 77.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.135, allocations: 10.41 kB / 1.038 GB, free: 77.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/1.138, allocations: 268.6 kB / 1.038 GB, free: 77.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.278e-05/1.138, allocations: 11.42 kB / 1.038 GB, free: 77.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/1.141, allocations: 231.3 kB / 1.038 GB, free: 77.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/1.141, allocations: 39.02 kB / 1.038 GB, free: 77.31 MB / 0.6511 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.001026/1.142, allocations: 413.7 kB / 1.039 GB, free: 77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/1.143, allocations: 139.9 kB / 1.039 GB, free: 76.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007119/1.15, allocations: 1.515 MB / 1.04 GB, free: 76.44 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/1.15, allocations: 9.281 kB / 1.04 GB, free: 76.44 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.15, allocations: 0 / 1.04 GB, free: 76.44 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006284/1.156, allocations: 1.29 MB / 1.041 GB, free: 75.97 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/1.169, allocations: 3.237 MB / 1.045 GB, free: 74.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.169, allocations: 3.844 kB / 1.045 GB, free: 74.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00234/1.171, allocations: 236.2 kB / 1.045 GB, free: 74.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-05/1.171, allocations: 9.609 kB / 1.045 GB, free: 74.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002098/1.172, allocations: 26.05 kB / 1.045 GB, free: 74.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.761e-05/1.172, allocations: 12.16 kB / 1.045 GB, free: 74.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.172, allocations: 5.188 kB / 1.045 GB, free: 74.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/1.182, allocations: 2.303 MB / 1.047 GB, free: 73.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.184, allocations: 369.9 kB / 1.048 GB, free: 73.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005465/1.184, allocations: 20.91 kB / 1.048 GB, free: 73.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003141/1.187, allocations: 185.9 kB / 1.048 GB, free: 73.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003415/1.188, allocations: 74.45 kB / 1.048 GB, free: 73.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/1.188, allocations: 38.78 kB / 1.048 GB, free: 73.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002266/1.19, allocations: 0.888 MB / 1.049 GB, free: 72.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.122e-06/1.19, allocations: 0 / 1.049 GB, free: 72.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003642/1.194, allocations: 0.7734 MB / 1.049 GB, free: 72.66 MB / 0.6511 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.001626/1.196, allocations: 0.5067 MB / 1.05 GB, free: 72.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01036/1.206, allocations: 2.069 MB / 1.052 GB, free: 71.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/1.206, allocations: 1.562 kB / 1.052 GB, free: 71.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003715/1.21, allocations: 0.7079 MB / 1.053 GB, free: 71.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007613/1.217, allocations: 0.7525 MB / 1.053 GB, free: 70.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008849/1.226, allocations: 3.164 MB / 1.056 GB, free: 68.76 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.227, allocations: 1.229 MB / 1.058 GB, free: 67.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003208/1.231, allocations: 360 kB / 1.058 GB, free: 67.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008979/1.232, allocations: 121.4 kB / 1.058 GB, free: 67.61 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.232, allocations: 0 / 1.058 GB, free: 67.61 MB / 0.6511 GB Notification: Performance of Templates: time 0.07344/1.305, allocations: 28.89 MB / 1.086 GB, free: 42.36 MB / 0.6511 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)