Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7075/0.7075, allocations: 132.3 MB / 144.9 MB, free: 10.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001286/0.001287, allocations: 170 kB / 176.9 MB, free: 2.305 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.346/1.346, allocations: 170.5 MB / 379.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00174/0.00174, allocations: 119.1 kB / 450 MB, free: 5.848 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4654/0.4654, allocations: 73.39 MB / 0.6736 GB, free: 47.64 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7061/1.172, allocations: 372.2 MB / 1.037 GB, free: 27.61 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.172, allocations: 84.83 kB / 1.037 GB, free: 27.56 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.054/3.226, allocations: 0.5683 GB / 1.606 GB, free: 71.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/3.226, allocations: 5.094 kB / 1.606 GB, free: 71.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001394/3.226, allocations: 39.16 kB / 1.606 GB, free: 71.54 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003919/3.23, allocations: 1.825 MB / 1.607 GB, free: 70.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/3.23, allocations: 9.75 kB / 1.607 GB, free: 70.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003885/3.234, allocations: 0.6432 MB / 1.608 GB, free: 70.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0256/3.26, allocations: 12.64 MB / 1.62 GB, free: 70.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/3.26, allocations: 158.1 kB / 1.62 GB, free: 69.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/3.26, allocations: 109 kB / 1.621 GB, free: 69.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/3.263, allocations: 1.37 MB / 1.622 GB, free: 69.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/3.263, allocations: 4.938 kB / 1.622 GB, free: 69.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/3.263, allocations: 46.84 kB / 1.622 GB, free: 69.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/3.263, allocations: 37.38 kB / 1.622 GB, free: 69.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/3.265, allocations: 1.093 MB / 1.623 GB, free: 69.62 MB / 0.6198 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.006785/3.272, allocations: 6.828 MB / 1.63 GB, free: 65.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004689/3.277, allocations: 1.198 MB / 1.631 GB, free: 65.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/3.277, allocations: 439.2 kB / 1.631 GB, free: 65.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003884/3.278, allocations: 0.5899 MB / 1.632 GB, free: 64.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/3.279, allocations: 0.5656 MB / 1.632 GB, free: 64.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=69): time 2.575e-06/3.279, allocations: 1.719 kB / 1.632 GB, free: 64.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69): time 0.002363/3.281, allocations: 0.9274 MB / 1.633 GB, free: 64.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/3.281, allocations: 221.2 kB / 1.634 GB, free: 64.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/3.283, allocations: 1.101 MB / 1.635 GB, free: 64.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/3.283, allocations: 46.77 kB / 1.635 GB, free: 64.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005445/3.284, allocations: 0.7407 MB / 1.635 GB, free: 63.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/3.284, allocations: 241.4 kB / 1.636 GB, free: 63.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/3.284, allocations: 21.78 kB / 1.636 GB, free: 63.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.858e-05/3.284, allocations: 342.2 kB / 1.636 GB, free: 63.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/3.285, allocations: 360.3 kB / 1.636 GB, free: 63.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007397/3.285, allocations: 0.7835 MB / 1.637 GB, free: 62.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/3.286, allocations: 457.6 kB / 1.638 GB, free: 62.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/3.286, allocations: 2.375 kB / 1.638 GB, free: 62.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001988/3.288, allocations: 1.176 MB / 1.639 GB, free: 62.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000821/3.289, allocations: 3.162 MB / 1.642 GB, free: 59.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/3.289, allocations: 12.3 kB / 1.642 GB, free: 59.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.392e-05/3.289, allocations: 11.69 kB / 1.642 GB, free: 59.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/3.292, allocations: 0.4899 MB / 1.642 GB, free: 59.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/3.293, allocations: 2.42 MB / 1.645 GB, free: 57.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/3.295, allocations: 252.3 kB / 1.645 GB, free: 57.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/3.295, allocations: 59.31 kB / 1.645 GB, free: 57.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/3.295, allocations: 4.5 kB / 1.645 GB, free: 57.09 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001474/3.297, allocations: 1.025 MB / 1.646 GB, free: 57.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/3.297, allocations: 13.09 kB / 1.646 GB, free: 57.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/3.297, allocations: 11.59 kB / 1.646 GB, free: 57.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/3.298, allocations: 363 kB / 1.646 GB, free: 57.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004257/3.299, allocations: 1.211 MB / 1.647 GB, free: 55.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/3.3, allocations: 242.1 kB / 1.648 GB, free: 55.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.205e-05/3.301, allocations: 48.88 kB / 1.648 GB, free: 55.83 MB / 0.6198 GB Warning: Assuming fixed start value for the following 2 variables: chi.vol2.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.3118766234157572 * chi.vol2.rho_start unit = "kg" protected = true final = true ) "Mass of fluid" type: Real chi.vol1.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.5797590564752818 * chi.vol1.rho_start unit = "kg" protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (113): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003844/3.301, allocations: 186.1 kB / 1.648 GB, free: 55.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/3.301, allocations: 146.8 kB / 1.648 GB, free: 55.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/3.303, allocations: 1.083 MB / 1.649 GB, free: 55.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/3.303, allocations: 17.44 kB / 1.649 GB, free: 55.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/3.303, allocations: 2.625 kB / 1.649 GB, free: 55.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/3.304, allocations: 0.9193 MB / 1.65 GB, free: 55.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/3.308, allocations: 2.489 MB / 1.652 GB, free: 54.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/3.308, allocations: 1.719 kB / 1.652 GB, free: 54.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/3.31, allocations: 408 kB / 1.653 GB, free: 54.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001774/3.311, allocations: 55.3 kB / 1.653 GB, free: 54.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.462e-05/3.311, allocations: 28.88 kB / 1.653 GB, free: 54.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/3.313, allocations: 3.786 MB / 1.657 GB, free: 51.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/3.313, allocations: 3.406 kB / 1.657 GB, free: 51.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/3.315, allocations: 1.775 MB / 1.658 GB, free: 50.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008194/3.316, allocations: 461.3 kB / 1.659 GB, free: 50.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/3.316, allocations: 12.78 kB / 1.659 GB, free: 50.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/3.317, allocations: 184 kB / 1.659 GB, free: 50.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/3.318, allocations: 67.39 kB / 1.659 GB, free: 50.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/3.318, allocations: 39.28 kB / 1.659 GB, free: 50.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001026/3.319, allocations: 0.8478 MB / 1.66 GB, free: 50.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/3.319, allocations: 0 / 1.66 GB, free: 50.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002234/3.321, allocations: 0.8631 MB / 1.661 GB, free: 50.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol2.dynBal.U,chi.vol2.dynBal.m) * 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: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001136/3.322, allocations: 0.7366 MB / 1.662 GB, free: 50.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004039/3.326, allocations: 1.777 MB / 1.663 GB, free: 49.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/3.326, allocations: 0 / 1.663 GB, free: 49.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002463/3.329, allocations: 0.6973 MB / 1.664 GB, free: 49.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/3.332, allocations: 0.6862 MB / 1.665 GB, free: 49.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005839/3.338, allocations: 2.493 MB / 1.667 GB, free: 49.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/3.338, allocations: 1.28 MB / 1.668 GB, free: 48.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002549/3.341, allocations: 486.3 kB / 1.669 GB, free: 48.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/3.341, allocations: 97.56 kB / 1.669 GB, free: 48.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.322e-06/3.341, allocations: 0 / 1.669 GB, free: 48.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.05652/3.398, allocations: 36.22 MB / 1.704 GB, free: 46.7 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)