Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 183.6 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.4 MB / 0.6367 GB, free: 8.602 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 93.19 kB / 0.751 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003681, allocations: 12 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2726, allocations: 116.3 MB / 0.9884 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7814/1.054, allocations: 139.1 MB / 1.124 GB, free: 35.55 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/1.054, allocations: 72.89 kB / 1.124 GB, free: 35.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008102/1.063, allocations: 2.926 MB / 1.127 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.974e-06/1.063, allocations: 0 / 1.127 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.394e-06/1.063, allocations: 0 / 1.127 GB, free: 33.4 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003607/1.063, allocations: 411.5 kB / 1.128 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.063, allocations: 19.44 kB / 1.128 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/1.063, allocations: 9.969 kB / 1.128 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.554e-05/1.063, allocations: 175 kB / 1.128 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/1.063, allocations: 8.562 kB / 1.128 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/1.063, allocations: 8.609 kB / 1.128 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.54e-05/1.063, allocations: 51.98 kB / 1.128 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/1.063, allocations: 0 / 1.128 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/1.063, allocations: 4.688 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/1.063, allocations: 0 / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.614e-05/1.063, allocations: 20.16 kB / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/1.064, allocations: 349.7 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.285e-05/1.064, allocations: 36.55 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/1.064, allocations: 0 / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/1.064, allocations: 82.42 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/1.064, allocations: 0 / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001991/1.064, allocations: 106.1 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/1.064, allocations: 55.41 kB / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.939e-05/1.064, allocations: 117.3 kB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/1.064, allocations: 33.64 kB / 1.129 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/1.064, allocations: 91.84 kB / 1.129 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/1.064, allocations: 11.81 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/1.064, allocations: 8.938 kB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/1.065, allocations: 322.4 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/1.065, allocations: 55.08 kB / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/1.065, allocations: 95.03 kB / 1.129 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/1.065, allocations: 107.5 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/1.065, allocations: 0 / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003413/1.065, allocations: 262.7 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/1.065, allocations: 70.83 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.065, allocations: 0 / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/1.065, allocations: 0 / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.099e-05/1.065, allocations: 8.812 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.065, allocations: 0.8594 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/1.066, allocations: 81.55 kB / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/1.066, allocations: 12.17 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/1.066, allocations: 123.1 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/1.066, allocations: 4 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/1.066, allocations: 12.38 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.066, allocations: 4 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.066, allocations: 4.156 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/1.066, allocations: 0 / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.752e-05/1.066, allocations: 177.2 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.066, allocations: 3.562 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-06/1.066, allocations: 5.062 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.066, allocations: 0.5625 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/1.066, allocations: 4 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.066, allocations: 0 / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.066, allocations: 5.031 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/1.066, allocations: 109.2 kB / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/1.066, allocations: 85.02 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/1.066, allocations: 3.516 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/1.066, allocations: 4 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/1.066, allocations: 11.95 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/1.066, allocations: 4 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.256e-05/1.066, allocations: 95.88 kB / 1.13 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.81e-07/1.066, allocations: 0 / 1.13 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002266/1.067, allocations: 39.88 kB / 1.13 GB, free: 30.02 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001386/1.067, allocations: 106.8 kB / 1.13 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00026/1.067, allocations: 248.5 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.067, allocations: 0 / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/1.067, allocations: 27.28 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/1.067, allocations: 20.56 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/1.067, allocations: 162.7 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/1.068, allocations: 0.6946 MB / 1.131 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.779e-05/1.068, allocations: 8 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/1.068, allocations: 11.44 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.068, allocations: 0 / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of Templates: time 0.003544/1.071, allocations: 1.662 MB / 1.133 GB, free: 27.82 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)