Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004396/0.004399, allocations: 233.1 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001202/0.001202, allocations: 172.9 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.884/3.884, allocations: 389.1 MB / 406.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.96/3.96, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004906, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1887, allocations: 98.72 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.822/2.011, allocations: 401.1 MB / 1.496 GB, free: 234.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/2.011, allocations: 96.34 kB / 1.496 GB, free: 234.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.181/5.192, allocations: 0.5983 GB / 2.095 GB, free: 120.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.826e-06/5.192, allocations: 0 / 2.095 GB, free: 120.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002867/5.193, allocations: 46.2 kB / 2.095 GB, free: 120.9 MB / 0.823 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.008097/5.201, allocations: 2.092 MB / 2.097 GB, free: 120.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/5.201, allocations: 9.344 kB / 2.097 GB, free: 120.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006663/5.208, allocations: 0.6397 MB / 2.097 GB, free: 120.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006194/5.214, allocations: 1.598 MB / 2.099 GB, free: 119.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000299/5.214, allocations: 149.8 kB / 2.099 GB, free: 119.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005932/5.215, allocations: 101.1 kB / 2.099 GB, free: 119.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005812/5.221, allocations: 1.336 MB / 2.101 GB, free: 119.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.292e-05/5.221, allocations: 4.906 kB / 2.101 GB, free: 119.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/5.221, allocations: 39.53 kB / 2.101 GB, free: 119.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.92e-05/5.221, allocations: 22.94 kB / 2.101 GB, free: 119.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007435/5.228, allocations: 1.396 MB / 2.102 GB, free: 119.5 MB / 0.823 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.01349/5.242, allocations: 5.371 MB / 2.107 GB, free: 117.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005101/5.247, allocations: 0.9961 MB / 2.108 GB, free: 117.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003233/5.25, allocations: 0.642 MB / 2.109 GB, free: 117.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/5.252, allocations: 1.245 MB / 2.11 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00329/5.255, allocations: 0.6927 MB / 2.111 GB, free: 115.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=65): time 4.739e-06/5.255, allocations: 0 / 2.111 GB, free: 115.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=65): time 0.009815/5.265, allocations: 1.828 MB / 2.112 GB, free: 115.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/5.265, allocations: 71.89 kB / 2.113 GB, free: 115.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002887/5.268, allocations: 1.307 MB / 2.114 GB, free: 115.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003125/5.268, allocations: 45.02 kB / 2.114 GB, free: 115.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008308/5.269, allocations: 0.6896 MB / 2.115 GB, free: 115.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/5.269, allocations: 222.3 kB / 2.115 GB, free: 115 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/5.27, allocations: 16.81 kB / 2.115 GB, free: 115 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/5.27, allocations: 338.7 kB / 2.115 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/5.273, allocations: 0.5563 MB / 2.116 GB, free: 114.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003279/5.276, allocations: 0.8198 MB / 2.116 GB, free: 114.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/5.279, allocations: 0.6066 MB / 2.117 GB, free: 114.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/5.279, allocations: 0 / 2.117 GB, free: 114.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007282/5.286, allocations: 1.46 MB / 2.118 GB, free: 114.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/5.287, allocations: 210.1 kB / 2.119 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/5.287, allocations: 4.156 kB / 2.119 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.967e-05/5.287, allocations: 5.656 kB / 2.119 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/5.289, allocations: 266.5 kB / 2.119 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.957e-05/5.289, allocations: 10.48 kB / 2.119 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/5.293, allocations: 231.1 kB / 2.119 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003771/5.293, allocations: 50.45 kB / 2.119 GB, free: 114 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/5.293, allocations: 6.406 kB / 2.119 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00642/5.3, allocations: 1.296 MB / 2.12 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/5.3, allocations: 2.938 kB / 2.12 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/5.3, allocations: 6.656 kB / 2.12 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/5.302, allocations: 267.1 kB / 2.121 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/5.302, allocations: 7.531 kB / 2.121 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/5.306, allocations: 232.7 kB / 2.121 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003175/5.306, allocations: 50.14 kB / 2.121 GB, free: 113.9 MB / 0.823 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 (87): * Single equations (assignments): 86 * 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.001286/5.307, allocations: 417.6 kB / 2.121 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005988/5.308, allocations: 148.5 kB / 2.122 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007006/5.315, allocations: 1.557 MB / 2.123 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/5.315, allocations: 8.625 kB / 2.123 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/5.315, allocations: 3.969 kB / 2.123 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006024/5.321, allocations: 1.322 MB / 2.124 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/5.333, allocations: 3.243 MB / 2.128 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/5.333, allocations: 5.312 kB / 2.128 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002234/5.335, allocations: 234.4 kB / 2.128 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.888e-05/5.336, allocations: 6 kB / 2.128 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/5.336, allocations: 26.22 kB / 2.128 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/5.336, allocations: 6.188 kB / 2.128 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/5.336, allocations: 6.344 kB / 2.128 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009994/5.346, allocations: 2.358 MB / 2.13 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/5.347, allocations: 465.3 kB / 2.131 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006106/5.348, allocations: 19.58 kB / 2.131 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002995/5.351, allocations: 184.7 kB / 2.131 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/5.351, allocations: 70.45 kB / 2.131 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/5.351, allocations: 39.08 kB / 2.131 GB, free: 112.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002203/5.354, allocations: 0.9338 MB / 2.132 GB, free: 112 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.112e-06/5.354, allocations: 0 / 2.132 GB, free: 112 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004006/5.358, allocations: 0.8399 MB / 2.133 GB, free: 111.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (69): * Single equations (assignments): 61 * 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.002192/5.36, allocations: 0.7915 MB / 2.133 GB, free: 111.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009323/5.369, allocations: 2.034 MB / 2.135 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.527e-06/5.369, allocations: 0 / 2.135 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003272/5.373, allocations: 0.6891 MB / 2.136 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007321/5.38, allocations: 0.7683 MB / 2.137 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008275/5.388, allocations: 3.187 MB / 2.14 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009763/5.389, allocations: 1.277 MB / 2.141 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003127/5.393, allocations: 357.7 kB / 2.141 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007691/5.393, allocations: 120.4 kB / 2.142 GB, free: 109.4 MB / 0.823 GB Notification: Performance of SimCode: time 9.62e-07/5.393, allocations: 6.031 kB / 2.142 GB, free: 109.4 MB / 0.823 GB Notification: Performance of Templates: time 0.08918/5.483, allocations: 32.55 MB / 2.173 GB, free: 108.2 MB / 0.823 GB