Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.621/1.621, allocations: 297.8 MB / 313.7 MB, free: 164 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000965/0.0009649, allocations: 184.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008675/0.0008673, allocations: 93.45 kB / 0.7808 GB, free: 43.72 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 12 kB / 0.9088 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6021/0.6025, allocations: 120.3 MB / 1.026 GB, free: 56.68 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.7917, allocations: 141.6 MB / 1.165 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.7919, allocations: 72.61 kB / 1.165 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01892/0.8109, allocations: 6.829 MB / 1.171 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8109, allocations: 0 / 1.171 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.8109, allocations: 4 kB / 1.171 GB, free: 9.844 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000579/0.8115, allocations: 0.5737 MB / 1.172 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.8116, allocations: 8.031 kB / 1.172 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.529e-05/0.8117, allocations: 32.73 kB / 1.172 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.812, allocations: 260 kB / 1.172 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.812, allocations: 20.38 kB / 1.172 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/0.8121, allocations: 32.55 kB / 1.172 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.8123, allocations: 155.8 kB / 1.172 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.8123, allocations: 4.188 kB / 1.172 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.8124, allocations: 7.938 kB / 1.172 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.8124, allocations: 4 kB / 1.172 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.8125, allocations: 75.95 kB / 1.172 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007835/0.8133, allocations: 0.6993 MB / 1.173 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.8135, allocations: 167.7 kB / 1.173 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.8136, allocations: 44.83 kB / 1.173 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.8136, allocations: 4 kB / 1.173 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.8138, allocations: 152.8 kB / 1.173 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.8138, allocations: 0 / 1.173 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0004154/0.8143, allocations: 239 kB / 1.174 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.8143, allocations: 59.39 kB / 1.174 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.8144, allocations: 187.1 kB / 1.174 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.8145, allocations: 37.7 kB / 1.174 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.422e-05/0.8146, allocations: 132.4 kB / 1.174 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.8146, allocations: 43.44 kB / 1.174 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.8147, allocations: 16 kB / 1.174 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8148, allocations: 326.9 kB / 1.174 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.8151, allocations: 155.8 kB / 1.175 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.8154, allocations: 234.2 kB / 1.175 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.8159, allocations: 409.2 kB / 1.175 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8159, allocations: 0 / 1.175 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008949/0.8168, allocations: 0.6186 MB / 1.176 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.099e-05/0.8169, allocations: 160.5 kB / 1.176 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.8169, allocations: 7.938 kB / 1.176 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.8169, allocations: 4 kB / 1.176 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.91e-05/0.817, allocations: 11.94 kB / 1.176 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.817, allocations: 4 kB / 1.176 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007215/0.8177, allocations: 192 kB / 1.176 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.8178, allocations: 31.98 kB / 1.176 GB, free: 4.359 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulOr0.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): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0001601/0.8179, allocations: 158.9 kB / 1.176 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.818, allocations: 15.8 kB / 1.176 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.818, allocations: 25.09 kB / 1.176 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.818, allocations: 8 kB / 1.176 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.818, allocations: 0 / 1.176 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.818, allocations: 0 / 1.176 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000519/0.8186, allocations: 0.5061 MB / 1.177 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.8186, allocations: 8.062 kB / 1.177 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.67e-05/0.8186, allocations: 0 / 1.177 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.8186, allocations: 4 kB / 1.177 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.8186, allocations: 4 kB / 1.177 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.8186, allocations: 7.984 kB / 1.177 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8187, allocations: 4 kB / 1.177 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.8189, allocations: 280.9 kB / 1.177 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.819, allocations: 88.92 kB / 1.177 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.819, allocations: 7.984 kB / 1.177 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.8191, allocations: 4 kB / 1.177 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.8192, allocations: 23.91 kB / 1.177 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.8192, allocations: 8 kB / 1.177 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.174e-05/0.8193, allocations: 124.8 kB / 1.177 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8193, allocations: 0 / 1.177 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003572/0.8196, allocations: 87.98 kB / 1.178 GB, free: 2.91 MB / 0.7448 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 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * 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 (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.0001855/0.8198, allocations: 120.6 kB / 1.178 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006811/0.8205, allocations: 0.6111 MB / 1.178 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8205, allocations: 128 / 1.178 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.8206, allocations: 84.55 kB / 1.178 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.821, allocations: 54.86 kB / 1.178 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005563/0.8216, allocations: 354.3 kB / 1.179 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.8219, allocations: 0.7322 MB / 1.179 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.44e-05/0.822, allocations: 21.55 kB / 1.179 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.822, allocations: 23.42 kB / 1.18 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.822, allocations: 0 / 1.18 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of Templates: time 0.007581/0.8296, allocations: 4.231 MB / 1.184 GB, free: 12.64 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)