Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.751/2.751, allocations: 287.3 MB / 302.3 MB, free: 8.418 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 193.5 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.263/2.263, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001298/0.001298, allocations: 104.1 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 11.25 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2188, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07237/0.2912, allocations: 50.59 MB / 1.028 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02426/0.3155, allocations: 11.24 MB / 1.039 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/0.3182, allocations: 59.56 kB / 1.039 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004484/0.3227, allocations: 0.9174 MB / 1.04 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009692/0.3324, allocations: 2.222 MB / 1.042 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007848/0.3403, allocations: 1.709 MB / 1.043 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006621/0.347, allocations: 2.536 MB / 1.046 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/0.3494, allocations: 0.9935 MB / 1.047 GB, free: 5.992 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003916/0.3534, allocations: 1.179 MB / 1.048 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002935/0.3564, allocations: 0.7816 MB / 1.049 GB, free: 4.023 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000547/0.357, allocations: 56 kB / 1.049 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004292/0.3613, allocations: 0.9088 MB / 1.05 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007671/0.3621, allocations: 294.8 kB / 1.05 GB, free: 2.77 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008325/0.363, allocations: 352.8 kB / 1.05 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004576/0.3676, allocations: 1.855 MB / 1.052 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.3676, allocations: 7.938 kB / 1.052 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.146e-06/0.3676, allocations: 0 / 1.052 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.413e-05/0.3677, allocations: 0 / 1.052 GB, free: 0.5508 MB / 0.6667 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.005675/0.3734, allocations: 1.863 MB / 1.054 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3734, allocations: 8.031 kB / 1.054 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006294/0.3798, allocations: 0.6379 MB / 1.055 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003809/0.3836, allocations: 1.229 MB / 1.056 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.3839, allocations: 141.4 kB / 1.056 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003216/0.3843, allocations: 100 kB / 1.056 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005126/0.3894, allocations: 1.323 MB / 1.057 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/0.3895, allocations: 0 / 1.057 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.3897, allocations: 47.98 kB / 1.057 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.3898, allocations: 28 kB / 1.057 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006511/0.3963, allocations: 1.37 MB / 1.059 GB, free: 9.645 MB / 0.6823 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.01129/0.4076, allocations: 5.374 MB / 1.064 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/0.4178, allocations: 1.514 MB / 1.065 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/0.4191, allocations: 1.236 MB / 1.067 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003225/0.4223, allocations: 0.6823 MB / 1.067 GB, free: 160 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.998e-06/0.4224, allocations: 3.938 kB / 1.067 GB, free: 156 kB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.6257/1.048, allocations: 1.761 MB / 1.069 GB, free: 89.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/1.048, allocations: 60.67 kB / 1.069 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/1.051, allocations: 1.263 MB / 1.07 GB, free: 89.58 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002329/1.051, allocations: 48.09 kB / 1.07 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007356/1.052, allocations: 0.6524 MB / 1.071 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003548/1.052, allocations: 233.9 kB / 1.071 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-05/1.052, allocations: 15.81 kB / 1.071 GB, free: 88.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/1.052, allocations: 334.5 kB / 1.072 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00299/1.055, allocations: 0.5429 MB / 1.072 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003377/1.059, allocations: 0.7641 MB / 1.073 GB, free: 88.15 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/1.062, allocations: 0.5976 MB / 1.073 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/1.062, allocations: 0.7188 kB / 1.073 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.007284/1.069, allocations: 1.449 MB / 1.075 GB, free: 87.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002974/1.07, allocations: 1.203 MB / 1.076 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/1.07, allocations: 3.281 kB / 1.076 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/1.07, allocations: 7.703 kB / 1.076 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/1.072, allocations: 277.5 kB / 1.076 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.221e-05/1.073, allocations: 14.55 kB / 1.076 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00299/1.076, allocations: 239.8 kB / 1.076 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/1.076, allocations: 40.81 kB / 1.077 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.076, allocations: 5.344 kB / 1.077 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006605/1.082, allocations: 1.301 MB / 1.078 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/1.082, allocations: 3.469 kB / 1.078 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/1.083, allocations: 6.875 kB / 1.078 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/1.085, allocations: 276.4 kB / 1.078 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.597e-05/1.085, allocations: 6.5 kB / 1.078 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/1.088, allocations: 237.4 kB / 1.078 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/1.089, allocations: 43.61 kB / 1.078 GB, free: 85.75 MB / 0.6823 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.001024/1.09, allocations: 409.6 kB / 1.079 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000431/1.09, allocations: 144.2 kB / 1.079 GB, free: 85.37 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007162/1.097, allocations: 1.522 MB / 1.08 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-05/1.097, allocations: 10.95 kB / 1.08 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/1.097, allocations: 0.7969 kB / 1.08 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006055/1.103, allocations: 1.282 MB / 1.082 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/1.115, allocations: 3.237 MB / 1.085 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/1.115, allocations: 6.141 kB / 1.085 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002235/1.117, allocations: 231 kB / 1.085 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.15e-05/1.117, allocations: 7.938 kB / 1.085 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/1.117, allocations: 29.7 kB / 1.085 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.521e-05/1.117, allocations: 12.59 kB / 1.085 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/1.117, allocations: 12.58 kB / 1.085 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009987/1.127, allocations: 2.577 MB / 1.088 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.129, allocations: 372.7 kB / 1.088 GB, free: 81.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/1.129, allocations: 22.91 kB / 1.088 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002751/1.132, allocations: 182.4 kB / 1.088 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/1.132, allocations: 71.58 kB / 1.088 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/1.132, allocations: 42.72 kB / 1.088 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001997/1.134, allocations: 0.8967 MB / 1.089 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/1.134, allocations: 1.406 kB / 1.089 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003449/1.138, allocations: 0.7864 MB / 1.09 GB, free: 80.63 MB / 0.6823 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.001479/1.139, allocations: 0.5034 MB / 1.09 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009608/1.149, allocations: 2.071 MB / 1.092 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/1.149, allocations: 1.094 kB / 1.092 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003512/1.153, allocations: 0.7143 MB / 1.093 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006589/1.159, allocations: 0.7347 MB / 1.094 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008274/1.168, allocations: 3.146 MB / 1.097 GB, free: 77.61 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/1.169, allocations: 1.26 MB / 1.098 GB, free: 76.85 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003276/1.172, allocations: 360.1 kB / 1.098 GB, free: 76.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007682/1.173, allocations: 120.9 kB / 1.099 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of SimCode: time 1.894e-06/1.173, allocations: 0 / 1.099 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of Templates: time 0.08678/1.26, allocations: 29.22 MB / 1.127 GB, free: 58.2 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)