Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Templates.Components.Validation.Sensors.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.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Components.Validation.Sensors") translateModel(Buildings.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Components.Validation.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007254/0.0007254, allocations: 97.64 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.004995/0.004994, allocations: 170 kB / 16.27 MB, free: 6.328 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.978/2.978, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005265/0.0005265, allocations: 9.375 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4335, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.168/1.601, allocations: 256.3 MB / 1.324 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02387/1.625, allocations: 18.97 MB / 1.343 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/1.628, allocations: 42.03 kB / 1.343 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002419/1.63, allocations: 0.6132 MB / 1.344 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007191/1.637, allocations: 1.722 MB / 1.345 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004748/1.642, allocations: 1.294 MB / 1.347 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006145/1.648, allocations: 4.535 MB / 1.351 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/1.65, allocations: 0.9703 MB / 1.352 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008495/1.659, allocations: 2.902 MB / 1.355 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/1.661, allocations: 1.001 MB / 1.356 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/1.661, allocations: 52.39 kB / 1.356 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004804/1.666, allocations: 1.706 MB / 1.357 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005928/1.667, allocations: 365.8 kB / 1.358 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/1.668, allocations: 0.6526 MB / 1.358 GB, free: 20.19 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004323/1.673, allocations: 2.062 MB / 1.36 GB, free: 19.9 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.673, allocations: 3.938 kB / 1.36 GB, free: 19.9 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.265e-06/1.673, allocations: 0 / 1.36 GB, free: 19.9 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.294e-05/1.673, allocations: 6.844 kB / 1.36 GB, free: 19.89 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002345/1.675, allocations: 1.353 MB / 1.362 GB, free: 19.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.675, allocations: 12.97 kB / 1.362 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/1.676, allocations: 280.5 kB / 1.362 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/1.678, allocations: 0.8271 MB / 1.363 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/1.678, allocations: 68.28 kB / 1.363 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/1.678, allocations: 103.5 kB / 1.363 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/1.68, allocations: 0.983 MB / 1.364 GB, free: 18.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/1.68, allocations: 2.438 kB / 1.364 GB, free: 18.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.12e-05/1.68, allocations: 39.59 kB / 1.364 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/1.68, allocations: 20.91 kB / 1.364 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/1.681, allocations: 0.6453 MB / 1.365 GB, free: 17.86 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004501/1.685, allocations: 4.379 MB / 1.369 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/1.686, allocations: 267.9 kB / 1.369 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/1.686, allocations: 131.2 kB / 1.369 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006484/1.687, allocations: 320.5 kB / 1.37 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/1.687, allocations: 33 kB / 1.37 GB, free: 14.06 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 2.364e-06/1.687, allocations: 0 / 1.37 GB, free: 14.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.0009655/1.688, allocations: 489.6 kB / 1.37 GB, free: 13.86 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/1.688, allocations: 54.38 kB / 1.37 GB, free: 13.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/1.689, allocations: 1.082 MB / 1.371 GB, free: 13.38 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/1.689, allocations: 32.86 kB / 1.371 GB, free: 13.35 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004894/1.69, allocations: 0.5838 MB / 1.372 GB, free: 12.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/1.69, allocations: 113.1 kB / 1.372 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.894e-05/1.69, allocations: 50.91 kB / 1.372 GB, free: 12.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.69, allocations: 330.9 kB / 1.372 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/1.69, allocations: 130 kB / 1.372 GB, free: 12.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/1.691, allocations: 401.7 kB / 1.373 GB, free: 12.04 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006567/1.691, allocations: 0.497 MB / 1.373 GB, free: 11.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.691, allocations: 3.938 kB / 1.373 GB, free: 11.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001/1.692, allocations: 0.5917 MB / 1.374 GB, free: 11.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002357/1.693, allocations: 295.8 kB / 1.374 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.693, allocations: 5.594 kB / 1.374 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/1.693, allocations: 13.38 kB / 1.374 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008758/1.693, allocations: 169.9 kB / 1.374 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/1.695, allocations: 2.364 MB / 1.377 GB, free: 8.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009345/1.696, allocations: 116.8 kB / 1.377 GB, free: 8.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/1.696, allocations: 30.33 kB / 1.377 GB, free: 8.637 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/1.696, allocations: 6.469 kB / 1.377 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007203/1.697, allocations: 461.6 kB / 1.377 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.697, allocations: 5.094 kB / 1.377 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/1.697, allocations: 15.59 kB / 1.377 GB, free: 8.496 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/1.697, allocations: 116.4 kB / 1.377 GB, free: 8.492 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.697, allocations: 17.25 kB / 1.377 GB, free: 8.492 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007245/1.698, allocations: 113.5 kB / 1.378 GB, free: 8.438 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/1.698, allocations: 26.39 kB / 1.378 GB, free: 8.434 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006101/1.698, allocations: 364.9 kB / 1.378 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/1.699, allocations: 118.2 kB / 1.378 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/1.699, allocations: 410.9 kB / 1.378 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/1.699, allocations: 3.031 kB / 1.378 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.699, allocations: 7.094 kB / 1.378 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.699, allocations: 3.234 kB / 1.378 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/1.702, allocations: 1.301 MB / 1.38 GB, free: 7.219 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.702, allocations: 6.969 kB / 1.38 GB, free: 7.215 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/1.702, allocations: 85.91 kB / 1.38 GB, free: 7.207 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/1.702, allocations: 10.12 kB / 1.38 GB, free: 7.203 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/1.702, allocations: 12.23 kB / 1.38 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/1.703, allocations: 2.348 MB / 1.382 GB, free: 4.832 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.703, allocations: 3.344 kB / 1.382 GB, free: 4.832 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/1.704, allocations: 0.6608 MB / 1.383 GB, free: 4.395 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004664/1.705, allocations: 220.5 kB / 1.383 GB, free: 4.199 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/1.705, allocations: 10.03 kB / 1.383 GB, free: 4.195 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/1.706, allocations: 54.52 kB / 1.383 GB, free: 4.168 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/1.706, allocations: 25.75 kB / 1.383 GB, free: 4.156 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/1.706, allocations: 8.375 kB / 1.383 GB, free: 4.156 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001157/1.707, allocations: 0.747 MB / 1.384 GB, free: 3.738 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.01e-07/1.707, allocations: 0 / 1.384 GB, free: 3.738 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001621/1.708, allocations: 491.5 kB / 1.384 GB, free: 3.66 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (hum.senMasFra.X,ent.senSpeEnt.h_out,tem.senTem.T) * 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005832/1.709, allocations: 207.4 kB / 1.384 GB, free: 3.527 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00165/1.711, allocations: 0.637 MB / 1.385 GB, free: 3.305 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/1.711, allocations: 0.6875 kB / 1.385 GB, free: 3.305 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003948/1.711, allocations: 179 kB / 1.385 GB, free: 3.242 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/1.714, allocations: 0.596 MB / 1.386 GB, free: 2.945 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/1.718, allocations: 2.319 MB / 1.388 GB, free: 1.297 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007574/1.719, allocations: 1.108 MB / 1.389 GB, free: 412 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001095/1.72, allocations: 235.2 kB / 1.389 GB, free: 304 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/1.72, allocations: 82.7 kB / 1.389 GB, free: 284 kB / 1.014 GB Notification: Performance of SimCode: time 1.443e-06/1.72, allocations: 0 / 1.389 GB, free: 284 kB / 1.014 GB Notification: Performance of Templates: time 0.03819/1.758, allocations: 18.78 MB / 1.408 GB, free: 7.148 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.Templates.Components.Validation.Sensors.makefile (rm -f Buildings_1.6_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_1.6_Buildings.Templates.Components.Validation.Sensors.sim & ./Buildings_1.6_Buildings.Templates.Components.Validation.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1)