Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009565/0.009565, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001467/0.001467, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.811/1.811, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.604/1.604, allocations: 251.7 MB / 0.5094 GB, free: 3.02 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.001569/0.001569, allocations: 75.91 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3449, allocations: 104.7 MB / 0.8281 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.003493/0.3485, allocations: 1.596 MB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007308/0.3493, allocations: 320 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.3494, allocations: 4 kB / 0.8299 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.3496, allocations: 15.8 kB / 0.8299 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.064e-05/0.3496, allocations: 31.72 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.35, allocations: 63.86 kB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000303/0.3503, allocations: 199.3 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.3505, allocations: 41.48 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.889e-05/0.3506, allocations: 75.72 kB / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.3507, allocations: 71.67 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.3508, allocations: 16 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.832e-05/0.3508, allocations: 12 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.3509, allocations: 47.89 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.351, allocations: 71.59 kB / 0.8305 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.3513, allocations: 183.2 kB / 0.8307 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.3513, allocations: 3.984 kB / 0.8307 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3513, allocations: 0 / 0.8307 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.3513, allocations: 0 / 0.8307 GB, free: 13.42 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001021/0.3524, allocations: 0.4934 MB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3524, allocations: 11.97 kB / 0.8312 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.3525, allocations: 16.75 kB / 0.8312 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.3528, allocations: 232 kB / 0.8315 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3528, allocations: 8.375 kB / 0.8315 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.3529, allocations: 16.38 kB / 0.8315 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.3532, allocations: 164.4 kB / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3532, allocations: 192 / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.3532, allocations: 3.938 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3532, allocations: 4 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.3534, allocations: 107.9 kB / 0.8317 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.3545, allocations: 0.5785 MB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.3548, allocations: 211.6 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.44e-05/0.3549, allocations: 60.83 kB / 0.8326 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.355, allocations: 7.938 kB / 0.8326 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.3552, allocations: 131.2 kB / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.502e-06/0.3552, allocations: 0 / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0004361/0.3556, allocations: 217.4 kB / 0.8329 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.3557, allocations: 63.34 kB / 0.833 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.3559, allocations: 178.6 kB / 0.8331 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.3559, allocations: 37.69 kB / 0.8332 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.356, allocations: 112.5 kB / 0.8333 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.3561, allocations: 39.83 kB / 0.8333 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/0.3562, allocations: 57.69 kB / 0.8334 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3563, allocations: 326.8 kB / 0.8337 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-05/0.3564, allocations: 47.97 kB / 0.8337 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3565, allocations: 97.98 kB / 0.8338 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.3567, allocations: 136.6 kB / 0.834 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3567, allocations: 4 kB / 0.834 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00026/0.357, allocations: 185.3 kB / 0.8341 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.357, allocations: 4 kB / 0.8341 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.357, allocations: 7.938 kB / 0.8342 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.357, allocations: 0 / 0.8342 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.3571, allocations: 19.94 kB / 0.8342 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3572, allocations: 4 kB / 0.8342 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.3574, allocations: 43.98 kB / 0.8342 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.3574, allocations: 4 kB / 0.8342 GB, free: 9.547 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booPul5.pulseStart,$PRE.booPul5.pulseStart,booPul4.pulseStart,$PRE.booPul4.pulseStart,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul1.pulseStart,$PRE.booPul1.pulseStart,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd5.u[5],mulAnd5.u[4],mulAnd5.u[3],mulAnd5.u[1],mulAnd2.y,mulAnd2.u[2],mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001466/0.3575, allocations: 148 kB / 0.8344 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.3576, allocations: 15.81 kB / 0.8344 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.826e-05/0.3576, allocations: 25.28 kB / 0.8344 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.3577, allocations: 11.94 kB / 0.8344 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.3577, allocations: 3.984 kB / 0.8344 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3577, allocations: 4 kB / 0.8344 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.3583, allocations: 0.5081 MB / 0.8349 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3583, allocations: 0 / 0.8349 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.3583, allocations: 4 kB / 0.8349 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3583, allocations: 0 / 0.8349 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.3584, allocations: 7.938 kB / 0.8349 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3584, allocations: 0 / 0.8349 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3584, allocations: 0 / 0.8349 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.3587, allocations: 282.2 kB / 0.8352 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.3588, allocations: 89 kB / 0.8353 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.3588, allocations: 4 kB / 0.8353 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.359, allocations: 27.97 kB / 0.8353 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/0.3591, allocations: 27.95 kB / 0.8353 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3591, allocations: 4 kB / 0.8353 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.699e-05/0.3592, allocations: 125.7 kB / 0.8355 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3592, allocations: 4 kB / 0.8355 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002733/0.3595, allocations: 39.84 kB / 0.8355 GB, free: 8.137 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulAnd5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[2],mulAnd2.y,mulAnd5.u[1],mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001718/0.3597, allocations: 111.2 kB / 0.8356 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00029/0.36, allocations: 139.8 kB / 0.8357 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.36, allocations: 4 kB / 0.8357 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.3601, allocations: 80.27 kB / 0.8358 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.3606, allocations: 47.12 kB / 0.8359 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007927/0.3614, allocations: 351.4 kB / 0.8362 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.3617, allocations: 0.7319 MB / 0.8369 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.91e-05/0.3618, allocations: 37.45 kB / 0.837 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.3619, allocations: 19.44 kB / 0.837 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of SimCode: time 4.2e-07/0.3619, allocations: 0 / 0.837 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of Templates: time 0.005687/0.3676, allocations: 2.425 MB / 0.8393 GB, free: 4.176 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)