Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.653/1.653, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001229/0.001229, allocations: 168.9 kB / 361.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.3 MB / 0.62 GB, free: 11.68 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009195/0.0009196, allocations: 96.8 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.766e-05/1.763e-05, allocations: 4 kB / 0.8517 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.711, allocations: 115.3 MB / 0.9643 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.098/1.809, allocations: 416.5 MB / 1.371 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/1.81, allocations: 92.02 kB / 1.371 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.332/4.142, allocations: 0.6193 GB / 1.99 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.172e-06/4.142, allocations: 0 / 1.99 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001373/4.142, allocations: 44.03 kB / 1.991 GB, free: 160.4 MB / 0.9323 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.003413/4.146, allocations: 1.759 MB / 1.992 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/4.146, allocations: 15.62 kB / 1.992 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/4.149, allocations: 0.627 MB / 1.993 GB, free: 159.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/4.152, allocations: 1.63 MB / 1.994 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/4.152, allocations: 106.8 kB / 1.995 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/4.152, allocations: 62.94 kB / 1.995 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001455/4.154, allocations: 0.9073 MB / 1.996 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/4.155, allocations: 0.9844 MB / 1.996 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/4.155, allocations: 1.406 kB / 1.996 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-05/4.155, allocations: 0 / 1.996 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/4.155, allocations: 25.28 kB / 1.997 GB, free: 159.2 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.006279/4.162, allocations: 5.199 MB / 2.002 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00412/4.166, allocations: 1.072 MB / 2.003 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000581/4.166, allocations: 426.8 kB / 2.003 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007427/4.167, allocations: 1.244 MB / 2.004 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007001/4.168, allocations: 0.5168 MB / 2.005 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 2.655e-06/4.168, allocations: 0 / 2.005 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.001966/4.17, allocations: 0.8748 MB / 2.006 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/4.17, allocations: 113.7 kB / 2.006 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/4.171, allocations: 0.996 MB / 2.007 GB, free: 155 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/4.171, allocations: 32.11 kB / 2.007 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005037/4.172, allocations: 0.6688 MB / 2.007 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/4.172, allocations: 220.3 kB / 2.008 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/4.172, allocations: 0 / 2.008 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.498e-05/4.172, allocations: 334.8 kB / 2.008 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/4.173, allocations: 335.8 kB / 2.008 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/4.173, allocations: 0.5865 MB / 2.009 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009122/4.174, allocations: 402.8 kB / 2.009 GB, free: 154 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/4.174, allocations: 4.094 kB / 2.009 GB, free: 154 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001937/4.176, allocations: 0.9785 MB / 2.01 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002615/4.176, allocations: 1.189 MB / 2.011 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/4.176, allocations: 3.219 kB / 2.011 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/4.176, allocations: 6.875 kB / 2.011 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/4.178, allocations: 281.1 kB / 2.012 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/4.178, allocations: 8.219 kB / 2.012 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/4.179, allocations: 205.4 kB / 2.012 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/4.18, allocations: 51.36 kB / 2.012 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/4.18, allocations: 5.625 kB / 2.012 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001767/4.181, allocations: 0.8186 MB / 2.013 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/4.181, allocations: 3 kB / 2.013 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/4.181, allocations: 11.33 kB / 2.013 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/4.183, allocations: 270.9 kB / 2.013 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/4.183, allocations: 10.38 kB / 2.013 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/4.184, allocations: 203.3 kB / 2.013 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/4.185, allocations: 50.84 kB / 2.013 GB, free: 152.7 MB / 0.9323 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 () * 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.0002985/4.185, allocations: 131.1 kB / 2.013 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/4.185, allocations: 137.7 kB / 2.013 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/4.187, allocations: 1.053 MB / 2.014 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/4.187, allocations: 16.33 kB / 2.014 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/4.188, allocations: 1.531 kB / 2.014 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00151/4.189, allocations: 0.8854 MB / 2.015 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005348/4.194, allocations: 2.919 MB / 2.018 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/4.194, allocations: 7.75 kB / 2.018 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/4.196, allocations: 239.5 kB / 2.018 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/4.196, allocations: 7.531 kB / 2.018 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-05/4.196, allocations: 24.25 kB / 2.018 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/4.196, allocations: 9.719 kB / 2.018 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/4.196, allocations: 8.016 kB / 2.018 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003324/4.199, allocations: 1.984 MB / 2.02 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/4.2, allocations: 470.6 kB / 2.021 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/4.2, allocations: 11.64 kB / 2.021 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/4.202, allocations: 160.3 kB / 2.021 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/4.202, allocations: 74.75 kB / 2.021 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/4.202, allocations: 48.69 kB / 2.021 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001406/4.204, allocations: 0.756 MB / 2.022 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.41e-07/4.204, allocations: 0 / 2.022 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00313/4.207, allocations: 0.8245 MB / 2.023 GB, free: 150.2 MB / 0.9323 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) * 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.001759/4.209, allocations: 0.7946 MB / 2.023 GB, free: 150 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00245/4.211, allocations: 1.405 MB / 2.025 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/4.211, allocations: 1.094 kB / 2.025 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008894/4.212, allocations: 0.4897 MB / 2.025 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00363/4.216, allocations: 0.638 MB / 2.026 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/4.22, allocations: 1.936 MB / 2.028 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/4.221, allocations: 1.261 MB / 2.029 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002702/4.223, allocations: 456 kB / 2.029 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/4.224, allocations: 94.8 kB / 2.03 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of SimCode: time 3.918e-06/4.224, allocations: 4.875 kB / 2.03 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.0572/4.281, allocations: 29.46 MB / 2.058 GB, free: 147.5 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)