Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001654/0.001654, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002331/0.00233, allocations: 194 kB / 16.53 MB, free: 6.699 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 69.91 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4221, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00245/0.4247, allocations: 0.5418 MB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 6.17e-05/0.4248, allocations: 4 kB / 1.069 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.4248, allocations: 0 / 1.069 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.888e-05/0.4249, allocations: 0 / 1.069 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.4249, allocations: 3.938 kB / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.999e-05/0.4249, allocations: 4 kB / 1.069 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.074e-05/0.425, allocations: 4 kB / 1.069 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.399e-05/0.4251, allocations: 4 kB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.161e-05/0.4251, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.683e-05/0.4252, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.4252, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.63e-06/0.4252, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.855e-05/0.4252, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.4253, allocations: 3.938 kB / 1.069 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.431e-05/0.4254, allocations: 7.938 kB / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.4254, allocations: 4 kB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.916e-06/0.4254, allocations: 0 / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.158e-06/0.4254, allocations: 4 kB / 1.069 GB, free: 9.898 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.0004035/0.4258, allocations: 315.6 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.4259, allocations: 8.031 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.4259, allocations: 0.9375 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.4261, allocations: 160.4 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4261, allocations: 384 / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.4261, allocations: 4.375 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.441e-05/0.4262, allocations: 30.25 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4262, allocations: 4.188 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4262, allocations: 7.875 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4262, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.201e-05/0.4263, allocations: 8 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.4266, allocations: 379.5 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.4268, allocations: 173.1 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.4269, allocations: 88.08 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.427, allocations: 75.28 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.427, allocations: 109.9 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.427, allocations: 0 / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.474e-05/0.4271, allocations: 29.7 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.4272, allocations: 126.7 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.4273, allocations: 101.8 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.4273, allocations: 29.7 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.4275, allocations: 80.14 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.4275, allocations: 0 / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.4275, allocations: 9.719 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4277, allocations: 310.8 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.4277, allocations: 0 / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.4277, allocations: 10.17 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/0.4278, allocations: 83.28 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-05/0.4278, allocations: 75.28 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.803e-05/0.4279, allocations: 37.55 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/0.428, allocations: 83.28 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001438/0.4281, allocations: 79.27 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/0.4282, allocations: 154.5 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.196e-05/0.4283, allocations: 75.28 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.18e-05/0.4284, allocations: 166.5 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.4286, allocations: 79.28 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.4286, allocations: 75.28 kB / 1.072 GB, free: 6.758 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.0001802/0.4288, allocations: 274.5 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.4289, allocations: 109 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.4291, allocations: 111.9 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001026/0.4292, allocations: 180.2 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.062e-05/0.4293, allocations: 176.3 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001021/0.4294, allocations: 188.2 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.4297, allocations: 405.2 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.99e-05/0.4298, allocations: 109 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.4299, allocations: 108.9 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.43, allocations: 176.3 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.4301, allocations: 188.2 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.737e-05/0.4302, allocations: 176.6 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.051e-05/0.4302, allocations: 180.3 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.4305, allocations: 319.7 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.616e-05/0.4306, allocations: 182 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/0.4307, allocations: 176.3 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4308, allocations: 101 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.4309, allocations: 188.2 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/0.4309, allocations: 105 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.431, allocations: 79.28 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.431, allocations: 4 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003219/0.4313, allocations: 0 / 1.075 GB, free: 3.074 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.0001682/0.4315, allocations: 170.5 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.998e-05/0.4315, allocations: 8.031 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4315, allocations: 0 / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.4315, allocations: 3.938 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.432, allocations: 461.2 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.4323, allocations: 160.2 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.4326, allocations: 0.6729 MB / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.005e-06/0.4326, allocations: 0 / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.4327, allocations: 7.438 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4327, allocations: 0 / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of Templates: time 0.00225/0.4349, allocations: 172.9 kB / 1.077 GB, free: 1.371 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)