Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 109.4 kB / 16.38 MB, free: 6.004 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.001353/0.001353, allocations: 193 kB / 17.31 MB, free: 5.621 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.604/1.604, allocations: 205.1 MB / 223.2 MB, free: 12.13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.875/1.875, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.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.001574/0.001575, allocations: 72.11 kB / 0.673 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3047, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002363/0.3071, allocations: 0.7163 MB / 0.7855 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3088, allocations: 1.258 MB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.3089, allocations: 0 / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.827e-05/0.3089, allocations: 3.938 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.309, allocations: 27.78 kB / 0.7868 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008685/0.3099, allocations: 307 kB / 0.7871 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.3103, allocations: 275.5 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3104, allocations: 20.19 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.3105, allocations: 99.84 kB / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.3107, allocations: 95.73 kB / 0.7875 GB, free: 400 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.492e-05/0.3108, allocations: 23.94 kB / 0.7876 GB, free: 376 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.54e-05/0.3109, allocations: 31.98 kB / 0.7876 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.3109, allocations: 19.88 kB / 0.7876 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.311, allocations: 79.8 kB / 0.7877 GB, free: 244 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.3114, allocations: 223.4 kB / 0.7879 GB, free: 20 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3114, allocations: 0 / 0.7879 GB, free: 20 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3114, allocations: 4 kB / 0.7879 GB, free: 16 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3114, allocations: 0 / 0.7879 GB, free: 16 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.5475/0.8589, allocations: 488 kB / 0.7884 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.8589, allocations: 10.5 kB / 0.7884 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.475e-05/0.859, allocations: 15.84 kB / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.8592, allocations: 174.8 kB / 0.7886 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.8592, allocations: 10.69 kB / 0.7886 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.8593, allocations: 16.81 kB / 0.7886 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.8595, allocations: 64.09 kB / 0.7886 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.8595, allocations: 2.031 kB / 0.7886 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.8595, allocations: 5.109 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.8595, allocations: 2.875 kB / 0.7887 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/0.8596, allocations: 19.08 kB / 0.7887 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.8602, allocations: 423.4 kB / 0.7891 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.898e-05/0.8603, allocations: 26.2 kB / 0.7891 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.8603, allocations: 21.8 kB / 0.7891 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.8603, allocations: 2.469 kB / 0.7891 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.8606, allocations: 100.5 kB / 0.7892 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.8606, allocations: 1 kB / 0.7892 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003414/0.8609, allocations: 137.4 kB / 0.7894 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.861, allocations: 55.09 kB / 0.7894 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.8611, allocations: 139.1 kB / 0.7895 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.8612, allocations: 34.7 kB / 0.7896 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.8613, allocations: 98.5 kB / 0.7897 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.8613, allocations: 20.7 kB / 0.7897 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.8614, allocations: 67.73 kB / 0.7897 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.8616, allocations: 319.2 kB / 0.7901 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.8618, allocations: 92.09 kB / 0.7901 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.862, allocations: 134.9 kB / 0.7903 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.8622, allocations: 234.2 kB / 0.7905 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8622, allocations: 2.719 kB / 0.7905 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005387/0.8628, allocations: 387.1 kB / 0.7909 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.506e-05/0.8629, allocations: 96.59 kB / 0.791 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8629, allocations: 2.75 kB / 0.791 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.8629, allocations: 5.906 kB / 0.791 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.965e-05/0.863, allocations: 5.156 kB / 0.791 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.863, allocations: 4.938 kB / 0.791 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.8635, allocations: 84.69 kB / 0.7911 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.8635, allocations: 22.98 kB / 0.7911 GB, free: 46.99 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: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001194/0.8637, allocations: 132.8 kB / 0.7912 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.8637, allocations: 9.703 kB / 0.7912 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.8637, allocations: 9.688 kB / 0.7912 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.8637, allocations: 2.625 kB / 0.7912 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.8637, allocations: 1.969 kB / 0.7912 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.8638, allocations: 87.3 kB / 0.7913 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.8638, allocations: 4.281 kB / 0.7913 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.8638, allocations: 2.906 kB / 0.7913 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.8639, allocations: 15.88 kB / 0.7913 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001781/0.8641, allocations: 183.6 kB / 0.7915 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000182/0.8643, allocations: 283.1 kB / 0.7918 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.912e-05/0.8643, allocations: 35.47 kB / 0.7918 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.8644, allocations: 109.8 kB / 0.7919 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Backend: time 5.21e-07/0.8644, allocations: 0 / 0.7919 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006912/0.8651, allocations: 417.4 kB / 0.7923 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0005518/0.8656, allocations: 0.6343 MB / 0.7929 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.005469/0.8711, allocations: 2.669 MB / 0.7955 GB, free: 45.43 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)