Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5356/0.5356, allocations: 94.78 MB / 102.3 MB, free: 10.13 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.00124/0.00124, allocations: 181.4 kB / 125.6 MB, free: 11.87 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.673/1.673, allocations: 170.6 MB / 319.4 MB, free: 9.266 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.001728/0.001728, allocations: 113.5 kB / 381.4 MB, free: 18.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.95e-05, allocations: 4 kB / 449.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.179, allocations: 61.54 MB / 0.4987 GB, free: 4.121 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.695/1.874, allocations: 421.3 MB / 0.9101 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000403/1.874, allocations: 88.72 kB / 0.9102 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.835/3.709, allocations: 451.9 MB / 1.352 GB, free: 64.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.755e-06/3.709, allocations: 3.953 kB / 1.352 GB, free: 64.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004462/3.71, allocations: 48.03 kB / 1.352 GB, free: 64.34 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.008717/3.719, allocations: 1.852 MB / 1.353 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.123e-05/3.719, allocations: 11.88 kB / 1.353 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/3.721, allocations: 227.8 kB / 1.354 GB, free: 63.49 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006632/3.728, allocations: 1.729 MB / 1.355 GB, free: 63.15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/3.728, allocations: 106.8 kB / 1.355 GB, free: 63.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/3.728, allocations: 69.03 kB / 1.355 GB, free: 63.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001736/3.73, allocations: 0.7684 MB / 1.356 GB, free: 63.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/3.732, allocations: 1.008 MB / 1.357 GB, free: 62.87 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/3.732, allocations: 3.656 kB / 1.357 GB, free: 62.87 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/3.732, allocations: 7.875 kB / 1.357 GB, free: 62.87 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/3.732, allocations: 24.44 kB / 1.357 GB, free: 62.87 MB / 0.5261 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.007969/3.74, allocations: 5.284 MB / 1.362 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/3.741, allocations: 0.5986 MB / 1.363 GB, free: 60.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006322/3.742, allocations: 307.5 kB / 1.363 GB, free: 60.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007945/3.742, allocations: 1.081 MB / 1.364 GB, free: 58.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006245/3.743, allocations: 429.3 kB / 1.365 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=65): time 3.466e-06/3.743, allocations: 0 / 1.365 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75): time 0.01359/3.757, allocations: 3.031 MB / 1.368 GB, free: 57.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/3.757, allocations: 323 kB / 1.368 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/3.759, allocations: 1.068 MB / 1.369 GB, free: 57.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.242e-05/3.759, allocations: 29.67 kB / 1.369 GB, free: 57.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007983/3.76, allocations: 0.7806 MB / 1.37 GB, free: 56.72 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/3.76, allocations: 246.5 kB / 1.37 GB, free: 56.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/3.76, allocations: 4.344 kB / 1.37 GB, free: 56.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001125/3.76, allocations: 341.2 kB / 1.37 GB, free: 56.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/3.761, allocations: 278.5 kB / 1.371 GB, free: 56.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007982/3.762, allocations: 0.6748 MB / 1.371 GB, free: 55.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/3.763, allocations: 484.7 kB / 1.372 GB, free: 55.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/3.763, allocations: 3.031 kB / 1.372 GB, free: 55.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002769/3.766, allocations: 1.088 MB / 1.373 GB, free: 55.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001004/3.767, allocations: 3.342 MB / 1.376 GB, free: 52.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/3.767, allocations: 9.531 kB / 1.376 GB, free: 52.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.214e-05/3.767, allocations: 14.52 kB / 1.376 GB, free: 52.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/3.768, allocations: 288.2 kB / 1.376 GB, free: 52.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.937e-05/3.768, allocations: 18.83 kB / 1.376 GB, free: 52.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/3.77, allocations: 115.1 kB / 1.377 GB, free: 52.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/3.77, allocations: 52.97 kB / 1.377 GB, free: 52.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/3.77, allocations: 3.812 kB / 1.377 GB, free: 52.09 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001613/3.772, allocations: 0.8313 MB / 1.377 GB, free: 52.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/3.772, allocations: 7.781 kB / 1.377 GB, free: 52.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/3.772, allocations: 21.83 kB / 1.377 GB, free: 52.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009348/3.773, allocations: 275 kB / 1.378 GB, free: 52.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/3.773, allocations: 24.56 kB / 1.378 GB, free: 52.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/3.774, allocations: 95.19 kB / 1.378 GB, free: 52.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.811e-05/3.774, allocations: 51.02 kB / 1.378 GB, free: 52.07 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 () * 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.0002948/3.774, allocations: 144.1 kB / 1.378 GB, free: 51.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/3.775, allocations: 152.9 kB / 1.378 GB, free: 51.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/3.777, allocations: 0.866 MB / 1.379 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/3.777, allocations: 19.92 kB / 1.379 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/3.777, allocations: 0 / 1.379 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/3.777, allocations: 6.984 kB / 1.379 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005024/3.782, allocations: 2.798 MB / 1.382 GB, free: 50.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/3.782, allocations: 6.156 kB / 1.382 GB, free: 50.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/3.783, allocations: 200.8 kB / 1.382 GB, free: 50.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.159e-05/3.783, allocations: 14.5 kB / 1.382 GB, free: 50.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.007e-05/3.783, allocations: 22.91 kB / 1.382 GB, free: 50.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.132e-05/3.783, allocations: 16.06 kB / 1.382 GB, free: 50.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.016e-05/3.783, allocations: 10.27 kB / 1.382 GB, free: 50.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004114/3.787, allocations: 1.824 MB / 1.384 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/3.789, allocations: 337.4 kB / 1.384 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/3.789, allocations: 14.28 kB / 1.384 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/3.79, allocations: 95.89 kB / 1.384 GB, free: 49.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003212/3.79, allocations: 80.22 kB / 1.384 GB, free: 49.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/3.79, allocations: 46.7 kB / 1.384 GB, free: 49.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002212/3.793, allocations: 0.7965 MB / 1.385 GB, free: 49.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.9e-07/3.793, allocations: 0 / 1.385 GB, free: 49.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005158/3.798, allocations: 0.8385 MB / 1.386 GB, free: 49.42 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) * 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.002945/3.801, allocations: 0.8841 MB / 1.387 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003496/3.804, allocations: 1.314 MB / 1.388 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/3.804, allocations: 4.281 kB / 1.388 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/3.805, allocations: 422.3 kB / 1.388 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004211/3.81, allocations: 0.6535 MB / 1.389 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00654/3.816, allocations: 2.468 MB / 1.392 GB, free: 48.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/3.817, allocations: 1.307 MB / 1.393 GB, free: 47.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002644/3.82, allocations: 498.1 kB / 1.393 GB, free: 47.56 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/3.82, allocations: 97.33 kB / 1.393 GB, free: 47.56 MB / 0.5261 GB Notification: Performance of SimCode: time 1.532e-06/3.82, allocations: 0 / 1.393 GB, free: 47.56 MB / 0.5261 GB Notification: Performance of Templates: time 0.05664/3.877, allocations: 31.39 MB / 1.424 GB, free: 45.76 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)