Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5641/0.5641, allocations: 95.62 MB / 110.6 MB, free: 9.371 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001334/0.001334, allocations: 172.2 kB / 134.2 MB, free: 2.262 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.525/1.525, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001811/0.001811, allocations: 103.4 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003963, allocations: 15.98 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1615, allocations: 61.52 MB / 0.512 GB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.275, allocations: 422.1 MB / 0.9242 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005561/1.275, allocations: 91.95 kB / 0.9243 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.012/3.288, allocations: 455.6 MB / 1.369 GB, free: 66.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.485e-06/3.288, allocations: 0 / 1.369 GB, free: 66.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001871/3.288, allocations: 42.52 kB / 1.369 GB, free: 66.79 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.005874/3.294, allocations: 2.133 MB / 1.371 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/3.294, allocations: 13.8 kB / 1.371 GB, free: 65.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/3.295, allocations: 228.1 kB / 1.372 GB, free: 65.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003982/3.299, allocations: 1.731 MB / 1.373 GB, free: 65.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/3.299, allocations: 145.6 kB / 1.373 GB, free: 65.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/3.299, allocations: 101.6 kB / 1.373 GB, free: 65.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/3.302, allocations: 1.244 MB / 1.375 GB, free: 65.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/3.302, allocations: 3 kB / 1.375 GB, free: 65.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/3.302, allocations: 44.06 kB / 1.375 GB, free: 65.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/3.302, allocations: 25.28 kB / 1.375 GB, free: 65.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/3.304, allocations: 0.9968 MB / 1.376 GB, free: 65.23 MB / 0.5261 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.008734/3.313, allocations: 5.419 MB / 1.381 GB, free: 62.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/3.315, allocations: 0.7811 MB / 1.382 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008252/3.316, allocations: 1.078 MB / 1.383 GB, free: 61.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/3.317, allocations: 0.5029 MB / 1.383 GB, free: 61.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=65): time 5.63e-06/3.317, allocations: 0 / 1.383 GB, free: 61.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75): time 0.01479/3.332, allocations: 3.28 MB / 1.387 GB, free: 60.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.587e-05/3.332, allocations: 272.3 kB / 1.387 GB, free: 59.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/3.335, allocations: 1.161 MB / 1.388 GB, free: 59.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001736/3.335, allocations: 47.45 kB / 1.388 GB, free: 59.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007241/3.335, allocations: 0.7702 MB / 1.389 GB, free: 59.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/3.336, allocations: 265.2 kB / 1.389 GB, free: 59.31 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/3.336, allocations: 18.91 kB / 1.389 GB, free: 59.31 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.493e-05/3.336, allocations: 351.5 kB / 1.389 GB, free: 59.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007672/3.337, allocations: 363 kB / 1.39 GB, free: 59.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/3.338, allocations: 0.7712 MB / 1.39 GB, free: 58.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000921/3.339, allocations: 493.5 kB / 1.391 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/3.339, allocations: 3.281 kB / 1.391 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002632/3.341, allocations: 1.243 MB / 1.392 GB, free: 58.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009022/3.342, allocations: 3.353 MB / 1.395 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/3.342, allocations: 7.906 kB / 1.395 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.451e-05/3.342, allocations: 13.62 kB / 1.395 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/3.343, allocations: 283.8 kB / 1.396 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.544e-05/3.343, allocations: 20.95 kB / 1.396 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/3.345, allocations: 128.6 kB / 1.396 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/3.346, allocations: 50.89 kB / 1.396 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/3.346, allocations: 5.156 kB / 1.396 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002129/3.348, allocations: 1.083 MB / 1.397 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/3.348, allocations: 7.5 kB / 1.397 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/3.348, allocations: 18.64 kB / 1.397 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009476/3.349, allocations: 279.4 kB / 1.397 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.61e-05/3.349, allocations: 21.75 kB / 1.397 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/3.35, allocations: 125.8 kB / 1.397 GB, free: 54.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/3.35, allocations: 48.22 kB / 1.397 GB, free: 54.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,chi.on,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * 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.0009861/3.351, allocations: 439.7 kB / 1.398 GB, free: 54.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004908/3.352, allocations: 155.1 kB / 1.398 GB, free: 54.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/3.354, allocations: 1.001 MB / 1.399 GB, free: 54.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/3.354, allocations: 14.95 kB / 1.399 GB, free: 54.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/3.354, allocations: 0 / 1.399 GB, free: 54.37 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/3.354, allocations: 3.75 kB / 1.399 GB, free: 54.37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005746/3.36, allocations: 2.9 MB / 1.402 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/3.36, allocations: 3.781 kB / 1.402 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/3.361, allocations: 200 kB / 1.402 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/3.361, allocations: 13.41 kB / 1.402 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/3.361, allocations: 32.66 kB / 1.402 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/3.361, allocations: 16.03 kB / 1.402 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/3.361, allocations: 6.875 kB / 1.402 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/3.364, allocations: 2.036 MB / 1.404 GB, free: 52.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008836/3.365, allocations: 333.3 kB / 1.404 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/3.365, allocations: 26.17 kB / 1.404 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/3.367, allocations: 106 kB / 1.404 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/3.367, allocations: 83.69 kB / 1.405 GB, free: 52.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.03e-05/3.367, allocations: 40.16 kB / 1.405 GB, free: 52.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001205/3.368, allocations: 0.897 MB / 1.405 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/3.368, allocations: 0 / 1.405 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003048/3.371, allocations: 0.8842 MB / 1.406 GB, free: 52.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 2 (chi.vol1.dynBal.medium.T,chi.vol2.dynBal.medium.T) * Number of discrete variables: 4 ($whenCondition1,chi.on,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001954/3.373, allocations: 0.8711 MB / 1.407 GB, free: 51.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003053/3.376, allocations: 1.582 MB / 1.409 GB, free: 51.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/3.376, allocations: 0.8125 kB / 1.409 GB, free: 51.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000961/3.377, allocations: 0.5069 MB / 1.409 GB, free: 51.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/3.381, allocations: 0.7148 MB / 1.41 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008278/3.389, allocations: 3.538 MB / 1.413 GB, free: 50.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/3.39, allocations: 1.277 MB / 1.415 GB, free: 49.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002442/3.393, allocations: 392.1 kB / 1.415 GB, free: 49.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/3.393, allocations: 128.2 kB / 1.415 GB, free: 49.47 MB / 0.5261 GB Notification: Performance of SimCode: time 1.683e-06/3.393, allocations: 0 / 1.415 GB, free: 49.47 MB / 0.5261 GB Notification: Performance of Templates: time 0.05446/3.448, allocations: 32.61 MB / 1.447 GB, free: 47.55 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)