Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001888/0.001887, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002485/0.002485, allocations: 195.9 kB / 16.14 MB, free: 6.656 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.96/2.96, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 65.61 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4677, 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.003556/0.4713, allocations: 1.802 MB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001781/0.4715, allocations: 83.67 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.4716, allocations: 0 / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.024e-05/0.4717, allocations: 7.922 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.4718, allocations: 15.86 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.4719, allocations: 23.98 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.472, allocations: 103.7 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.4722, allocations: 53.06 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.4723, allocations: 39.86 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.4724, allocations: 47.77 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.4724, allocations: 8 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.4724, allocations: 4 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/0.4725, allocations: 19.91 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.734e-05/0.4725, allocations: 43.73 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.4727, allocations: 111.9 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4727, allocations: 0 / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4727, allocations: 0 / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4727, allocations: 0 / 1.07 GB, free: 8.52 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.0007479/0.4734, allocations: 431.1 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.4735, allocations: 8.031 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.4736, allocations: 12.84 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.4738, allocations: 202.2 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.4738, allocations: 8.375 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.4739, allocations: 12.38 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.4743, allocations: 128.1 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4743, allocations: 192 / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.4743, allocations: 11.88 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4743, allocations: 0 / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.4748, allocations: 123.9 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.4753, allocations: 388.4 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.4757, allocations: 86.52 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.476, allocations: 60.92 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.476, allocations: 4 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.476, allocations: 38.44 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.476, allocations: 0 / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.00076/0.4768, allocations: 193.5 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.4768, allocations: 55.41 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.477, allocations: 125.8 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.477, allocations: 25.7 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.4771, allocations: 111.9 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.4771, allocations: 19.64 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.4771, allocations: 17.72 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4773, allocations: 322.8 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.4775, allocations: 51.94 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.4777, allocations: 51.94 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.4781, allocations: 112.7 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4781, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004504/0.4786, allocations: 141.5 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4786, allocations: 4 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4786, allocations: 0 / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.4786, allocations: 3.938 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.4788, allocations: 27.97 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.4788, allocations: 3.984 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.4789, allocations: 12.42 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.4789, allocations: 4 kB / 1.073 GB, free: 5.555 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 9.786e-05/0.4791, allocations: 125.8 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.4791, allocations: 11.89 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.4791, allocations: 12.31 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4791, allocations: 3.938 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4791, allocations: 4 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.4792, allocations: 4 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.4794, allocations: 201.6 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4794, allocations: 0 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.4796, allocations: 31.95 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4796, allocations: 0 / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.4796, allocations: 4 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4796, allocations: 7.938 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4796, allocations: 0 / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.4801, allocations: 239.3 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.4801, allocations: 88.95 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.4802, allocations: 4 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.4803, allocations: 19.91 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.4804, allocations: 7.984 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.4804, allocations: 4 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.788e-05/0.4805, allocations: 101.1 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4805, allocations: 3.938 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002267/0.4807, 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.0001434/0.4808, allocations: 103.2 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004665/0.4813, allocations: 107.9 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4813, allocations: 0 / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.4815, allocations: 63.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.0003768/0.4819, allocations: 11.98 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.4824, allocations: 240.2 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.4827, allocations: 0.6965 MB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.154e-05/0.4828, allocations: 7.984 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.4828, allocations: 11.44 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.4828, allocations: 0 / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of Templates: time 0.003403/0.4863, allocations: 0.8756 MB / 1.075 GB, free: 2.438 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1)