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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.3 MB / 308.1 MB, free: 4.266 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.001601/0.001601, allocations: 189.5 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.1 MB / 0.6354 GB, free: 9.785 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.00111/0.00111, allocations: 105.5 kB / 0.748 GB, free: 60.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3653, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.00282/0.3681, allocations: 0.7861 MB / 0.983 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.3702, allocations: 1.293 MB / 0.9843 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.532e-05/0.3703, allocations: 4 kB / 0.9843 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/0.3703, allocations: 3.938 kB / 0.9843 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3705, allocations: 7.922 kB / 0.9843 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009124/0.3714, allocations: 287.5 kB / 0.9846 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.3717, allocations: 227.5 kB / 0.9848 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3718, allocations: 16.17 kB / 0.9848 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.372, allocations: 87.86 kB / 0.9849 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.3722, allocations: 79.77 kB / 0.9849 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.153e-05/0.3723, allocations: 12 kB / 0.985 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3724, allocations: 23.98 kB / 0.985 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.3724, allocations: 15.92 kB / 0.985 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.3725, allocations: 79.8 kB / 0.9851 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.3728, allocations: 203.7 kB / 0.9853 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3729, allocations: 0 / 0.9853 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3729, allocations: 3.938 kB / 0.9853 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.3729, allocations: 0 / 0.9853 GB, free: 7.227 MB / 0.7136 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.0007151/0.3736, allocations: 0.4963 MB / 0.9858 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.3737, allocations: 8.031 kB / 0.9858 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.863e-05/0.3737, allocations: 12.94 kB / 0.9858 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3739, allocations: 176.3 kB / 0.9859 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.3739, allocations: 8.359 kB / 0.9859 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.374, allocations: 20.31 kB / 0.986 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.3741, allocations: 54.23 kB / 0.986 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3742, allocations: 3.938 kB / 0.986 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.3742, allocations: 3.984 kB / 0.986 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3742, allocations: 0 / 0.986 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.453e-05/0.3743, allocations: 27.94 kB / 0.9861 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.3749, allocations: 424.4 kB / 0.9865 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.176e-05/0.375, allocations: 26.58 kB / 0.9865 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.3751, allocations: 20.94 kB / 0.9865 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.3751, allocations: 0 / 0.9865 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.3753, allocations: 107.3 kB / 0.9866 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.315e-06/0.3753, allocations: 0 / 0.9866 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003125/0.3757, allocations: 141.4 kB / 0.9867 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3757, allocations: 51.41 kB / 0.9868 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.3758, allocations: 136.3 kB / 0.9869 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.3759, allocations: 33.7 kB / 0.987 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.376, allocations: 104.1 kB / 0.9871 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.376, allocations: 23.75 kB / 0.9871 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.3761, allocations: 65.67 kB / 0.9871 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3763, allocations: 326.8 kB / 0.9874 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.3765, allocations: 83.95 kB / 0.9875 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.3767, allocations: 141.9 kB / 0.9877 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.377, allocations: 231 kB / 0.9879 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.377, allocations: 0 / 0.9879 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000605/0.3776, allocations: 382.5 kB / 0.9883 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/0.3777, allocations: 101.1 kB / 0.9883 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3777, allocations: 3.984 kB / 0.9884 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3777, allocations: 4 kB / 0.9884 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.403e-05/0.3778, allocations: 0 / 0.9884 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3778, allocations: 4 kB / 0.9884 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.3783, allocations: 83.98 kB / 0.9884 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/0.3784, allocations: 19.98 kB / 0.9885 GB, free: 3.621 MB / 0.7136 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.0001246/0.3785, allocations: 137 kB / 0.9886 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.3785, allocations: 11.91 kB / 0.9886 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.3786, allocations: 8.375 kB / 0.9886 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3786, allocations: 0 / 0.9886 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3786, allocations: 7.938 kB / 0.9886 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3786, allocations: 3.984 kB / 0.9886 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.3788, allocations: 193.5 kB / 0.9888 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3788, allocations: 384 / 0.9888 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.129e-05/0.3788, allocations: 4 kB / 0.9888 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.3788, allocations: 0 / 0.9888 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3788, allocations: 3.984 kB / 0.9888 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3788, allocations: 7.938 kB / 0.9888 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3788, allocations: 0 / 0.9888 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.3794, allocations: 0.7214 MB / 0.9895 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.3794, allocations: 81.02 kB / 0.9896 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.3794, allocations: 4 kB / 0.9896 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.803e-05/0.3795, allocations: 11.92 kB / 0.9896 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3795, allocations: 11.98 kB / 0.9896 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.3796, allocations: 4 kB / 0.9896 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.92e-05/0.3796, allocations: 95.27 kB / 0.9897 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3796, allocations: 4 kB / 0.9897 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003622/0.38, allocations: 44 kB / 0.9898 GB, free: 2.141 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001857/0.3802, allocations: 111.2 kB / 0.9899 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004763/0.3807, allocations: 362 kB / 0.9902 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3807, allocations: 0 / 0.9902 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.404e-05/0.3808, allocations: 35.94 kB / 0.9903 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.381, allocations: 32.28 kB / 0.9903 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.3816, allocations: 339.5 kB / 0.9906 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.382, allocations: 0.6965 MB / 0.9913 GB, free: 488 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.498e-05/0.382, allocations: 8.422 kB / 0.9913 GB, free: 480 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.382, allocations: 11.72 kB / 0.9913 GB, free: 468 kB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.3821, allocations: 4 kB / 0.9913 GB, free: 464 kB / 0.7136 GB Notification: Performance of Templates: time 0.00655/0.3886, allocations: 2.583 MB / 0.9938 GB, free: 13.9 MB / 0.7292 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)