Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009819/0.0009819, allocations: 98.03 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.009412/0.009412, allocations: 168.9 kB / 16.26 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.68/1.68, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.066/3.066, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.000397, allocations: 17.7 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4621, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.0009811/0.4632, allocations: 323.4 kB / 1.074 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.668e-05/0.4632, allocations: 0 / 1.074 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.4633, allocations: 0 / 1.074 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.4633, allocations: 0 / 1.074 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.474e-05/0.4633, allocations: 0 / 1.074 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.913e-05/0.4634, allocations: 4 kB / 1.074 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.642e-05/0.4635, allocations: 3.984 kB / 1.074 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.168e-05/0.4635, allocations: 7.938 kB / 1.074 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/0.4636, allocations: 4 kB / 1.074 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.471e-05/0.4636, allocations: 0 / 1.074 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.4636, allocations: 0 / 1.074 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-06/0.4636, allocations: 0 / 1.074 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.4636, allocations: 0 / 1.074 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.4637, allocations: 29.64 kB / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.699e-05/0.4638, allocations: 7.984 kB / 1.075 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4638, allocations: 0 / 1.075 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.514e-06/0.4638, allocations: 0 / 1.075 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.4638, allocations: 0 / 1.075 GB, free: 7.121 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003621/0.4642, allocations: 311.6 kB / 1.075 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.4642, allocations: 12.09 kB / 1.075 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.4643, allocations: 0.9375 kB / 1.075 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.4644, allocations: 168.3 kB / 1.075 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.4644, allocations: 384 / 1.075 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.4645, allocations: 384 / 1.075 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.445e-05/0.4646, allocations: 30.27 kB / 1.075 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4646, allocations: 192 / 1.075 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4646, allocations: 3.938 kB / 1.075 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4646, allocations: 0 / 1.075 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.366e-05/0.4646, allocations: 11.94 kB / 1.075 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.4651, allocations: 379.5 kB / 1.075 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.4652, allocations: 169.1 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.4652, allocations: 88.17 kB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.914e-05/0.4653, allocations: 79.28 kB / 1.076 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.187e-05/0.4654, allocations: 109.8 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4654, allocations: 0 / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.856e-05/0.4655, allocations: 27.88 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/0.4656, allocations: 126.7 kB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.4657, allocations: 97.84 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.4657, allocations: 25.83 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.4658, allocations: 88.17 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.4658, allocations: 0 / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.4658, allocations: 13.72 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.466, allocations: 318.8 kB / 1.076 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.222e-06/0.466, allocations: 0 / 1.076 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-06/0.466, allocations: 0 / 1.076 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.466, allocations: 75.28 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.135e-05/0.4661, allocations: 79.22 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.918e-05/0.4662, allocations: 37.64 kB / 1.077 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.4662, allocations: 83.27 kB / 1.077 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-05/0.4663, allocations: 75.28 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.38e-05/0.4664, allocations: 154.5 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.076e-05/0.4664, allocations: 83.28 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.704e-05/0.4665, allocations: 154.5 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.4666, allocations: 83.19 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.4666, allocations: 75.28 kB / 1.077 GB, free: 3.988 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 (0): * Single equations (assignments): 0 * 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.0001512/0.4668, allocations: 264.3 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.4669, allocations: 108.9 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.4669, allocations: 111.9 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.997e-05/0.467, allocations: 184.2 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-05/0.4671, allocations: 180.3 kB / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.379e-05/0.4672, allocations: 176.3 kB / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.4675, allocations: 417.1 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/0.4675, allocations: 101 kB / 1.079 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.4676, allocations: 108.9 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-05/0.4676, allocations: 188.6 kB / 1.079 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.071e-05/0.4677, allocations: 180.3 kB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.076e-05/0.4678, allocations: 180.2 kB / 1.079 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.315e-05/0.4679, allocations: 184.3 kB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.468, allocations: 315.7 kB / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.4681, allocations: 178.1 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/0.4682, allocations: 184.2 kB / 1.08 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.535e-05/0.4683, allocations: 105 kB / 1.08 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.4684, allocations: 184.2 kB / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.4684, allocations: 101 kB / 1.081 GB, free: 396 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.4685, allocations: 83.28 kB / 1.081 GB, free: 312 kB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4685, allocations: 0 / 1.081 GB, free: 312 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002626/0.4687, allocations: 0 / 1.081 GB, free: 312 kB / 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 (0): * Single equations (assignments): 0 * 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.0001973/0.4689, allocations: 174.5 kB / 1.081 GB, free: 124 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.142e-05/0.469, allocations: 7.875 kB / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.469, allocations: 0 / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.469, allocations: 0 / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.4695, allocations: 0.5279 MB / 1.081 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.4697, allocations: 150 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.47, allocations: 0.6731 MB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.024e-05/0.47, allocations: 0 / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.47, allocations: 7.438 kB / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of SimCode: time 6.21e-07/0.47, allocations: 4 kB / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.002193/0.4722, allocations: 160.8 kB / 1.082 GB, free: 14.54 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1)