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.001495/0.001496, 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.002006/0.002006, allocations: 195.4 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.511/1.511, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.942/2.942, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 69.8 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3714, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001921/0.3734, allocations: 0.6354 MB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 3.657e-05/0.3734, allocations: 7.938 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.3734, allocations: 4 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.955e-05/0.3735, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.889e-05/0.3735, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.244e-05/0.3736, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.026e-05/0.3736, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.313e-05/0.3737, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.3737, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.047e-05/0.3737, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.3738, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.168e-06/0.3738, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.3738, allocations: 3.938 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.3738, allocations: 3.984 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.759e-05/0.3739, allocations: 3.984 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3739, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3739, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.3739, allocations: 0 / 1.068 GB, free: 10.18 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.0003299/0.3742, allocations: 315.5 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3743, allocations: 12.09 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.3743, allocations: 0.9375 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.3745, allocations: 168.3 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3745, allocations: 384 / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.3745, allocations: 384 / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.806e-05/0.3746, allocations: 30.27 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.3746, allocations: 192 / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3746, allocations: 7.938 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3746, allocations: 0 / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.929e-05/0.3747, allocations: 4 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.375, allocations: 375.5 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.3751, allocations: 181 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.3752, allocations: 84.14 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.3752, allocations: 79.27 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.3753, allocations: 109.8 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3753, allocations: 0 / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.391e-05/0.3753, allocations: 31.84 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.3754, allocations: 130.7 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3755, allocations: 105.8 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.3755, allocations: 25.7 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.3756, allocations: 80.14 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.3756, allocations: 4 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.3756, allocations: 9.719 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.3758, allocations: 310.8 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.3758, allocations: 0 / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-06/0.3759, allocations: 0 / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/0.3759, allocations: 75.41 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-05/0.376, allocations: 83.28 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001127/0.3761, allocations: 41.55 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.965e-05/0.3762, allocations: 84.98 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.211e-05/0.3762, allocations: 83.22 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.3763, allocations: 150.6 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.044e-05/0.3764, allocations: 79.22 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001191/0.3765, allocations: 154.6 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.282e-05/0.3766, allocations: 79.28 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.3767, allocations: 79.22 kB / 1.071 GB, free: 7.035 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.0002095/0.3769, allocations: 264.3 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.618e-05/0.377, allocations: 105 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.521e-05/0.3771, allocations: 115.8 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/0.3772, allocations: 180.3 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001026/0.3773, allocations: 180.2 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.429e-05/0.3774, allocations: 180.2 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.3777, allocations: 409.2 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-05/0.3777, allocations: 104.9 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.3778, allocations: 109 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.594e-05/0.3778, allocations: 188.5 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.998e-05/0.3779, allocations: 176.3 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.235e-05/0.378, allocations: 184.2 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.149e-05/0.3781, allocations: 184.2 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.3782, allocations: 315.7 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3783, allocations: 186 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.3785, allocations: 176.3 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.3785, allocations: 104.9 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.3787, allocations: 180.2 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.3787, allocations: 112.9 kB / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.3788, allocations: 79.28 kB / 1.074 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3788, allocations: 0 / 1.074 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002893/0.3791, allocations: 0 / 1.074 GB, free: 3.352 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 (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.0001645/0.3792, allocations: 174.5 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.654e-05/0.3793, allocations: 0 / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3793, allocations: 96 / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.3793, allocations: 4 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.3799, allocations: 0.5264 MB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.3801, allocations: 158 kB / 1.075 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3804, allocations: 0.6692 MB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.878e-06/0.3804, allocations: 0 / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.3804, allocations: 15.44 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3804, allocations: 0 / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of Templates: time 0.002108/0.3826, allocations: 156.8 kB / 1.076 GB, free: 1.59 MB / 0.8262 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)