Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01193/0.01193, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.631/1.631, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.235/3.235, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004028, allocations: 15.75 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4464, allocations: 162.1 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001215/0.4476, allocations: 278.1 kB / 1.074 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 7.018e-05/0.4478, allocations: 7.938 kB / 1.074 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.4478, allocations: 3.938 kB / 1.074 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.4478, allocations: 4 kB / 1.074 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.496e-05/0.4479, allocations: 0 / 1.074 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.457e-05/0.448, allocations: 0 / 1.074 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.448, allocations: 0 / 1.074 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.4481, allocations: 11.98 kB / 1.074 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.338e-05/0.4482, allocations: 3.984 kB / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.027e-05/0.4482, allocations: 0 / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.4483, allocations: 0 / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-06/0.4483, allocations: 0 / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.4483, allocations: 0 / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.4484, allocations: 25.7 kB / 1.074 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.221e-05/0.4485, allocations: 11.94 kB / 1.074 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.4485, allocations: 0 / 1.074 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.787e-06/0.4485, allocations: 0 / 1.074 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4485, allocations: 0 / 1.074 GB, free: 7.16 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.0005064/0.449, allocations: 307.5 kB / 1.075 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.937e-05/0.4491, allocations: 12.09 kB / 1.075 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.4492, allocations: 0.9375 kB / 1.075 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.4494, allocations: 164.4 kB / 1.075 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.4495, allocations: 4.312 kB / 1.075 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.4495, allocations: 4.375 kB / 1.075 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.4496, allocations: 34.27 kB / 1.075 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.4497, allocations: 4.188 kB / 1.075 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.4497, allocations: 3.938 kB / 1.075 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4497, allocations: 0 / 1.075 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.468e-05/0.4497, allocations: 0 / 1.075 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.4503, allocations: 379.5 kB / 1.075 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.4504, allocations: 177 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/0.4505, allocations: 80.14 kB / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.576e-05/0.4506, allocations: 79.31 kB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.22e-05/0.4507, allocations: 109.8 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.743e-06/0.4507, allocations: 0 / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001145/0.4508, allocations: 31.88 kB / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/0.4509, allocations: 134.6 kB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.451, allocations: 93.86 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.4511, allocations: 25.7 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.4512, allocations: 80.17 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-06/0.4512, allocations: 0 / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.4512, allocations: 9.719 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4514, allocations: 326.9 kB / 1.076 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.4515, allocations: 8 kB / 1.076 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.4515, allocations: 0 / 1.076 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/0.4515, allocations: 75.28 kB / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.675e-05/0.4516, allocations: 79.22 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001056/0.4517, allocations: 33.64 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.176e-05/0.4518, allocations: 81.16 kB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.479e-05/0.4519, allocations: 79.22 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-05/0.452, allocations: 154.6 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.4521, allocations: 83.22 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.671e-05/0.4522, allocations: 150.6 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.4523, allocations: 83.17 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/0.4524, allocations: 83.22 kB / 1.077 GB, free: 4.02 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.0002233/0.4526, allocations: 270.1 kB / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.4527, allocations: 101 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.4529, allocations: 111.8 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001048/0.453, allocations: 180.2 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001051/0.4531, allocations: 184.3 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001086/0.4532, allocations: 180.2 kB / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.4536, allocations: 405.2 kB / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-05/0.4537, allocations: 108.9 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.4538, allocations: 101 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.4539, allocations: 188.5 kB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.4541, allocations: 176.3 kB / 1.079 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001077/0.4542, allocations: 180.3 kB / 1.079 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001109/0.4543, allocations: 192.2 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.4545, allocations: 307.7 kB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.4547, allocations: 178.1 kB / 1.08 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.4548, allocations: 180.2 kB / 1.08 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.4549, allocations: 112.9 kB / 1.08 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.4551, allocations: 176.3 kB / 1.08 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-05/0.4552, allocations: 104.9 kB / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.347e-05/0.4553, allocations: 83.28 kB / 1.081 GB, free: 360 kB / 0.8262 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4553, allocations: 0 / 1.081 GB, free: 360 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004241/0.4557, allocations: 0 / 1.081 GB, free: 360 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.0002929/0.456, allocations: 178.6 kB / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.358e-05/0.4561, allocations: 0 / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4561, allocations: 0 / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.529e-06/0.4561, allocations: 4 kB / 1.081 GB, free: 164 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007743/0.4569, allocations: 0.5207 MB / 1.081 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.4573, allocations: 161.9 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.4577, allocations: 0.6731 MB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.692e-05/0.4578, allocations: 7.984 kB / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.4578, allocations: 7.438 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of SimCode: time 9.92e-07/0.4578, allocations: 0 / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of Templates: time 0.003665/0.4615, allocations: 160.9 kB / 1.082 GB, free: 14.58 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)