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.0009541/0.0009539, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007098/0.007098, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.026/3.026, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 8.438 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3647, allocations: 162.2 MB / 1.074 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002478/0.3673, allocations: 1.471 MB / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002135/0.3675, allocations: 83.69 kB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.3676, allocations: 0 / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.3676, allocations: 7.922 kB / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.816e-05/0.3677, allocations: 15.86 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.3679, allocations: 23.97 kB / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.368, allocations: 103.7 kB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.3682, allocations: 48.47 kB / 1.076 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.206e-05/0.3683, allocations: 31.84 kB / 1.076 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.3684, allocations: 43.77 kB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3684, allocations: 8 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.3685, allocations: 0 / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.815e-05/0.3685, allocations: 15.92 kB / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.3686, allocations: 61.44 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.3688, allocations: 103.8 kB / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3688, allocations: 0 / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3688, allocations: 0 / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.3688, allocations: 0 / 1.076 GB, free: 5.465 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.0007594/0.3696, allocations: 427.2 kB / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3696, allocations: 8.031 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.3697, allocations: 16.75 kB / 1.077 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.3699, allocations: 200.1 kB / 1.077 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.37, allocations: 12.38 kB / 1.077 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.37, allocations: 4.375 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.3704, allocations: 147.9 kB / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3705, allocations: 4.125 kB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.3705, allocations: 3.938 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3705, allocations: 3.938 kB / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005277/0.371, allocations: 159.8 kB / 1.077 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.3716, allocations: 380.4 kB / 1.077 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.372, allocations: 110.5 kB / 1.078 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.3723, allocations: 84.92 kB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.3723, allocations: 0 / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.3724, allocations: 30.56 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3724, allocations: 0 / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.000861/0.3733, allocations: 253.3 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.3733, allocations: 51.41 kB / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3734, allocations: 128.4 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3735, allocations: 25.7 kB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.3736, allocations: 107.9 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3736, allocations: 19.75 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.3736, allocations: 9.719 kB / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3738, allocations: 322.8 kB / 1.079 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.3741, allocations: 67.94 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.3743, allocations: 67.95 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.3748, allocations: 144.7 kB / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3748, allocations: 0 / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005286/0.3753, allocations: 177.5 kB / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3754, allocations: 4 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3754, allocations: 0 / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3754, allocations: 7.938 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.3756, allocations: 32.41 kB / 1.079 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.3756, allocations: 4 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.3757, allocations: 27.97 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3757, allocations: 4 kB / 1.079 GB, free: 2.258 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.0001087/0.3759, allocations: 121.8 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.3759, allocations: 7.906 kB / 1.079 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.3759, allocations: 12.38 kB / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3759, allocations: 3.938 kB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.376, allocations: 7.969 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.376, allocations: 0 / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.3762, allocations: 193.6 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3762, allocations: 4 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.3763, allocations: 39.91 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3763, allocations: 0 / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3764, allocations: 4 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.3764, allocations: 3.938 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3764, allocations: 7.922 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005437/0.3769, allocations: 267.4 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.377, allocations: 88.95 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.377, allocations: 7.984 kB / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.3772, allocations: 31.86 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.3772, allocations: 7.984 kB / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3772, allocations: 4 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.745e-05/0.3773, allocations: 95.27 kB / 1.08 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3773, allocations: 0 / 1.08 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002355/0.3775, allocations: 19.91 kB / 1.08 GB, free: 1.254 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.0001663/0.3777, allocations: 107.2 kB / 1.08 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005784/0.3783, allocations: 139.9 kB / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3783, allocations: 0 / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.3786, allocations: 79.88 kB / 1.08 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.379, allocations: 12 kB / 1.08 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.3796, allocations: 235.2 kB / 1.08 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.38, allocations: 0.6965 MB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.2e-05/0.3801, allocations: 8 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.3802, allocations: 7.438 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.3802, allocations: 4 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.004511/0.3847, allocations: 0.8671 MB / 1.082 GB, free: 15.06 MB / 0.8419 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)