Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 176.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009615/0.0009615, allocations: 92.25 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.644e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2231, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.605/1.828, allocations: 409.6 MB / 1.292 GB, free: 320.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/1.828, allocations: 89.69 kB / 1.292 GB, free: 320.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.797/3.625, allocations: 0.6062 GB / 1.898 GB, free: 42.33 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.335e-06/3.625, allocations: 0 / 1.898 GB, free: 42.33 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001414/3.625, allocations: 47.92 kB / 1.898 GB, free: 42.29 MB / 0.8698 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.003427/3.628, allocations: 1.777 MB / 1.9 GB, free: 40.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/3.628, allocations: 8.031 kB / 1.9 GB, free: 40.45 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/3.629, allocations: 151.6 kB / 1.9 GB, free: 40.29 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003356/3.632, allocations: 0.6432 MB / 1.901 GB, free: 39.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/3.635, allocations: 1.64 MB / 1.902 GB, free: 37.95 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/3.636, allocations: 153.4 kB / 1.902 GB, free: 37.79 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/3.636, allocations: 96 kB / 1.902 GB, free: 37.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/3.637, allocations: 1.116 MB / 1.904 GB, free: 36.55 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/3.638, allocations: 0 / 1.904 GB, free: 36.55 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/3.638, allocations: 44 kB / 1.904 GB, free: 36.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/3.638, allocations: 27.94 kB / 1.904 GB, free: 36.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/3.639, allocations: 0.9722 MB / 1.905 GB, free: 35.51 MB / 0.8698 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.006653/3.646, allocations: 5.414 MB / 1.91 GB, free: 29.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/3.647, allocations: 0.707 MB / 1.911 GB, free: 29.04 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006041/3.648, allocations: 456.7 kB / 1.911 GB, free: 28.59 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007658/3.648, allocations: 1.243 MB / 1.912 GB, free: 27.07 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000748/3.649, allocations: 0.5454 MB / 1.913 GB, free: 26.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 3.136e-06/3.649, allocations: 0 / 1.913 GB, free: 26.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.001602/3.651, allocations: 0.8994 MB / 1.914 GB, free: 25.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/3.651, allocations: 115.4 kB / 1.914 GB, free: 25.46 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/3.652, allocations: 1.167 MB / 1.915 GB, free: 24.29 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.189e-05/3.652, allocations: 49.64 kB / 1.915 GB, free: 24.23 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000487/3.653, allocations: 0.6897 MB / 1.916 GB, free: 23.53 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/3.653, allocations: 232.6 kB / 1.916 GB, free: 23.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/3.653, allocations: 16 kB / 1.916 GB, free: 23.29 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/3.653, allocations: 337.9 kB / 1.916 GB, free: 22.95 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/3.654, allocations: 353.5 kB / 1.917 GB, free: 22.61 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/3.654, allocations: 0.6156 MB / 1.917 GB, free: 21.88 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/3.655, allocations: 405.9 kB / 1.917 GB, free: 21.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/3.655, allocations: 4 kB / 1.917 GB, free: 21.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001551/3.656, allocations: 1.054 MB / 1.919 GB, free: 20.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002701/3.657, allocations: 1.206 MB / 1.92 GB, free: 19.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/3.657, allocations: 4 kB / 1.92 GB, free: 19.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/3.657, allocations: 4 kB / 1.92 GB, free: 19.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/3.658, allocations: 271.7 kB / 1.92 GB, free: 18.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/3.658, allocations: 11.94 kB / 1.92 GB, free: 18.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/3.66, allocations: 239 kB / 1.92 GB, free: 18.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/3.66, allocations: 47.97 kB / 1.92 GB, free: 18.53 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/3.66, allocations: 4 kB / 1.92 GB, free: 18.52 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00132/3.661, allocations: 0.8983 MB / 1.921 GB, free: 17.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/3.661, allocations: 7.938 kB / 1.921 GB, free: 17.61 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/3.661, allocations: 4 kB / 1.921 GB, free: 17.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/3.662, allocations: 272 kB / 1.921 GB, free: 17.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/3.662, allocations: 11.95 kB / 1.921 GB, free: 17.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/3.664, allocations: 231.1 kB / 1.922 GB, free: 17.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/3.664, allocations: 51.97 kB / 1.922 GB, free: 17.05 MB / 0.8698 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.0002601/3.665, allocations: 148.8 kB / 1.922 GB, free: 16.89 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/3.665, allocations: 146.2 kB / 1.922 GB, free: 16.75 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/3.667, allocations: 1.12 MB / 1.923 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/3.667, allocations: 11.98 kB / 1.923 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/3.667, allocations: 0 / 1.923 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/3.668, allocations: 0.9363 MB / 1.924 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00437/3.672, allocations: 3.135 MB / 1.927 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/3.672, allocations: 4 kB / 1.927 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/3.673, allocations: 248 kB / 1.927 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/3.673, allocations: 8 kB / 1.927 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.615e-05/3.673, allocations: 27.92 kB / 1.927 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/3.673, allocations: 15.94 kB / 1.927 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/3.674, allocations: 7.938 kB / 1.927 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/3.676, allocations: 2.097 MB / 1.929 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008164/3.677, allocations: 480.4 kB / 1.93 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/3.677, allocations: 23.95 kB / 1.93 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/3.678, allocations: 179.7 kB / 1.93 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/3.678, allocations: 80.36 kB / 1.93 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.459e-05/3.679, allocations: 47.97 kB / 1.93 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001252/3.68, allocations: 0.9401 MB / 1.931 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.7e-07/3.68, allocations: 0 / 1.931 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002347/3.682, allocations: 0.8616 MB / 1.932 GB, free: 6.055 MB / 0.8698 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.003923/3.686, allocations: 4.433 MB / 1.936 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.5515/4.238, allocations: 1.486 MB / 1.938 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/4.238, allocations: 1.281 kB / 1.938 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/4.239, allocations: 0.5168 MB / 1.938 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/4.244, allocations: 0.761 MB / 1.939 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00593/4.25, allocations: 2.42 MB / 1.941 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/4.251, allocations: 1.277 MB / 1.943 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00293/4.254, allocations: 0.4905 MB / 1.943 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/4.255, allocations: 0.567 MB / 1.944 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.503e-06/4.255, allocations: 0 / 1.944 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/4.361, allocations: 50.94 MB / 1.993 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/4.362, allocations: 207.2 kB / 1.994 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.949/8.311, allocations: 0 / 1.994 GB, free: 140.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)