Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 193.6 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 61.91 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4512, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003755/0.455, allocations: 1.818 MB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001794/0.4552, allocations: 71.69 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.4553, allocations: 7.938 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.223e-05/0.4553, allocations: 7.922 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.94e-05/0.4554, allocations: 15.86 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.4555, allocations: 31.97 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.4557, allocations: 95.7 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.4559, allocations: 53.09 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.899e-05/0.456, allocations: 35.84 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.456, allocations: 47.77 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.4561, allocations: 8 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.4561, allocations: 4 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.4561, allocations: 23.91 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.4562, allocations: 43.72 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.4563, allocations: 99.95 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.4564, allocations: 4 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.92e-07/0.4564, allocations: 3.938 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.4564, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007304/0.4571, allocations: 435 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4572, allocations: 8.031 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.4572, allocations: 12.84 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.4575, allocations: 208.1 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.4575, allocations: 4.312 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.4575, allocations: 12.38 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.4579, allocations: 126.1 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.4579, allocations: 192 / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.4579, allocations: 3.938 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.458, allocations: 4 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.4584, allocations: 129.9 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.459, allocations: 380.4 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.4594, allocations: 86.52 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.4596, allocations: 64.92 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.4597, allocations: 4 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.4597, allocations: 34.5 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4597, allocations: 4 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0007544/0.4604, allocations: 193.5 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.4605, allocations: 51.41 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.4606, allocations: 123.5 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.4607, allocations: 25.7 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.4607, allocations: 115.9 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.4608, allocations: 23.64 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.4608, allocations: 21.7 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.461, allocations: 318.8 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.4612, allocations: 47.94 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.4614, allocations: 59.88 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.4619, allocations: 105.1 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4619, allocations: 0 / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004466/0.4623, allocations: 145.5 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4623, allocations: 4 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4624, allocations: 0 / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4624, allocations: 3.938 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.4625, allocations: 27.97 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4626, allocations: 3.938 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.4627, allocations: 27.97 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.4627, allocations: 0 / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.4628, allocations: 117.8 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.4629, allocations: 7.906 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.4629, allocations: 12.36 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.4629, allocations: 3.938 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4629, allocations: 4 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4629, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.4631, allocations: 205.6 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4632, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.4633, allocations: 23.97 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4633, allocations: 3.938 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.4633, allocations: 4 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4633, allocations: 3.938 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4634, allocations: 0 / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.4639, allocations: 243.3 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.4639, allocations: 88.95 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.464, allocations: 0 / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.4641, allocations: 19.91 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.4642, allocations: 12 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.4642, allocations: 4 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.995e-05/0.4643, allocations: 99.25 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4643, allocations: 0 / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002414/0.4645, allocations: 16 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001392/0.4647, allocations: 101.6 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004767/0.4651, allocations: 116 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4652, allocations: 0 / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.4654, allocations: 59.88 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.4658, allocations: 15.98 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.4664, allocations: 236.2 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.4667, allocations: 0.7004 MB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.183e-05/0.4667, allocations: 4 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.4668, allocations: 7.438 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.4668, allocations: 0 / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of Templates: time 0.00357/0.4704, allocations: 0.8851 MB / 1.075 GB, free: 2.422 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1)