Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.001429/0.001429, 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.00192/0.001921, allocations: 195.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.776/1.776, allocations: 251.7 MB / 0.5088 GB, free: 3.312 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 63.91 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.84/0.8416, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.003522/0.8453, allocations: 0.6121 MB / 0.7244 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 8.029e-05/0.8454, allocations: 0 / 0.7244 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.8455, allocations: 3.938 kB / 0.7244 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.556e-05/0.8456, allocations: 0 / 0.7244 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.648e-05/0.8456, allocations: 0 / 0.7244 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.863e-05/0.8457, allocations: 0 / 0.7244 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.8458, allocations: 4 kB / 0.7244 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.966e-05/0.8459, allocations: 0 / 0.7244 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.317e-05/0.8459, allocations: 0 / 0.7244 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.562e-05/0.846, allocations: 0 / 0.7244 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.846, allocations: 0 / 0.7244 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.002e-06/0.846, allocations: 8 kB / 0.7244 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.846, allocations: 4 kB / 0.7244 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.8461, allocations: 0 / 0.7244 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.093e-05/0.8462, allocations: 11.92 kB / 0.7245 GB, free: 12.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.8462, allocations: 3.984 kB / 0.7245 GB, free: 12.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8462, allocations: 0 / 0.7245 GB, free: 12.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.8462, allocations: 3.938 kB / 0.7245 GB, free: 12.52 MB / 0.545 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.000475/0.8467, allocations: 311.5 kB / 0.7248 GB, free: 12.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.475e-05/0.8468, allocations: 8.031 kB / 0.7248 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.8468, allocations: 8.938 kB / 0.7248 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.847, allocations: 160.4 kB / 0.7249 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.8471, allocations: 4.375 kB / 0.7249 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.8471, allocations: 4.359 kB / 0.7249 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.8473, allocations: 30.2 kB / 0.725 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.8473, allocations: 4.188 kB / 0.725 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.8473, allocations: 3.938 kB / 0.725 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.8473, allocations: 0 / 0.725 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.756e-05/0.8474, allocations: 0 / 0.725 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.8479, allocations: 383.5 kB / 0.7253 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.8481, allocations: 173 kB / 0.7255 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.8482, allocations: 83 kB / 0.7256 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.392e-05/0.8482, allocations: 75.28 kB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.277e-05/0.8483, allocations: 113.9 kB / 0.7258 GB, free: 11.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.8483, allocations: 0 / 0.7258 GB, free: 11.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.000123/0.8485, allocations: 33.69 kB / 0.7258 GB, free: 10.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.909e-05/0.8486, allocations: 126.7 kB / 0.7259 GB, free: 10.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.8487, allocations: 97.84 kB / 0.726 GB, free: 10.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.8487, allocations: 25.7 kB / 0.726 GB, free: 10.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.8488, allocations: 84.08 kB / 0.7261 GB, free: 10.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.8488, allocations: 4.125 kB / 0.7261 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.8489, allocations: 13.72 kB / 0.7261 GB, free: 10.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.8491, allocations: 314.8 kB / 0.7264 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.8491, allocations: 0 / 0.7264 GB, free: 10.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-06/0.8491, allocations: 3.938 kB / 0.7264 GB, free: 10.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.421e-05/0.8492, allocations: 75.28 kB / 0.7265 GB, free: 10.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-05/0.8492, allocations: 75.28 kB / 0.7266 GB, free: 10.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.032e-05/0.8493, allocations: 33.64 kB / 0.7266 GB, free: 10.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.996e-05/0.8494, allocations: 83.28 kB / 0.7267 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.255e-05/0.8495, allocations: 83.2 kB / 0.7268 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/0.8496, allocations: 150.6 kB / 0.7269 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.8498, allocations: 79.28 kB / 0.727 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.665e-05/0.8499, allocations: 158.5 kB / 0.7271 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.85, allocations: 79.28 kB / 0.7272 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.85, allocations: 83.22 kB / 0.7273 GB, free: 9.379 MB / 0.545 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.0001504/0.8502, allocations: 264.3 kB / 0.7276 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.8503, allocations: 105 kB / 0.7277 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.8503, allocations: 104.1 kB / 0.7278 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.692e-05/0.8504, allocations: 184.2 kB / 0.7279 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.041e-05/0.8505, allocations: 188.2 kB / 0.7281 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-05/0.8506, allocations: 180.2 kB / 0.7283 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.8509, allocations: 405.2 kB / 0.7287 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.547e-05/0.8509, allocations: 108.9 kB / 0.7288 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.851, allocations: 105 kB / 0.7289 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.745e-05/0.8511, allocations: 180.2 kB / 0.729 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.436e-05/0.8512, allocations: 188.2 kB / 0.7292 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.031e-05/0.8513, allocations: 176.3 kB / 0.7294 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-05/0.8513, allocations: 180.2 kB / 0.7296 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.8515, allocations: 312.1 kB / 0.7299 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.842e-05/0.8516, allocations: 186 kB / 0.73 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/0.8517, allocations: 180.3 kB / 0.7302 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.8518, allocations: 108.9 kB / 0.7303 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/0.8519, allocations: 180.3 kB / 0.7305 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.8519, allocations: 105 kB / 0.7306 GB, free: 5.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.852, allocations: 79.28 kB / 0.7307 GB, free: 5.711 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.852, allocations: 4.094 kB / 0.7307 GB, free: 5.707 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003181/0.8523, allocations: 0 / 0.7307 GB, free: 5.707 MB / 0.545 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.0001811/0.8525, allocations: 174.5 kB / 0.7308 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.754e-05/0.8526, allocations: 4 kB / 0.7308 GB, free: 5.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8526, allocations: 0 / 0.7308 GB, free: 5.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.8526, allocations: 3.938 kB / 0.7308 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.853, allocations: 0.5282 MB / 0.7314 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.8533, allocations: 153.9 kB / 0.7315 GB, free: 4.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.8535, allocations: 0.6731 MB / 0.7322 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.158e-05/0.8536, allocations: 0 / 0.7322 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.8536, allocations: 7.438 kB / 0.7322 GB, free: 4.098 MB / 0.545 GB Notification: Performance of SimCode: time 1.984e-06/0.8536, allocations: 0 / 0.7322 GB, free: 4.098 MB / 0.545 GB Notification: Performance of Templates: time 0.002142/0.8558, allocations: 171.5 kB / 0.7323 GB, free: 3.934 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)