Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.3 MB / 308.1 MB, free: 4.297 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.001853/0.001853, allocations: 188.1 kB / 376.9 MB, free: 1.785 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.951/1.951, allocations: 205 MB / 0.6354 GB, free: 9.777 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.001175/0.001175, allocations: 97 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3623, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00334/0.3657, allocations: 0.903 MB / 0.9831 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002885/0.3686, allocations: 1.531 MB / 0.9846 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.3688, allocations: 7.938 kB / 0.9846 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.369, allocations: 19.86 kB / 0.9846 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.3692, allocations: 23.78 kB / 0.9847 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.3708, allocations: 495.1 kB / 0.9851 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006524/0.3715, allocations: 419.3 kB / 0.9855 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.3717, allocations: 37.48 kB / 0.9856 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.3721, allocations: 167.6 kB / 0.9857 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.3723, allocations: 131.6 kB / 0.9859 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.3725, allocations: 24 kB / 0.9859 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.3727, allocations: 39.98 kB / 0.9859 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.3727, allocations: 43.83 kB / 0.986 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.373, allocations: 139.5 kB / 0.9861 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005569/0.3735, allocations: 395.2 kB / 0.9865 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3735, allocations: 4 kB / 0.9865 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.126e-06/0.3736, allocations: 0 / 0.9865 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.3736, allocations: 3.938 kB / 0.9865 GB, free: 6.004 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00111/0.3747, allocations: 0.6477 MB / 0.9871 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.3747, allocations: 8.031 kB / 0.9871 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.3749, allocations: 32.73 kB / 0.9872 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.3753, allocations: 256 kB / 0.9874 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.3754, allocations: 16.38 kB / 0.9874 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.3754, allocations: 28.38 kB / 0.9874 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.3758, allocations: 159.8 kB / 0.9876 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.3758, allocations: 192 / 0.9876 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.3758, allocations: 19.86 kB / 0.9876 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.3758, allocations: 4 kB / 0.9876 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.376, allocations: 84.42 kB / 0.9877 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.377, allocations: 0.707 MB / 0.9884 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.3773, allocations: 167.7 kB / 0.9885 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.672e-05/0.3773, allocations: 44.84 kB / 0.9886 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.3774, allocations: 0 / 0.9886 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003341/0.3777, allocations: 159.3 kB / 0.9887 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.833e-06/0.3777, allocations: 0 / 0.9887 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0004701/0.3782, allocations: 247.5 kB / 0.989 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.3783, allocations: 59.41 kB / 0.989 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3784, allocations: 182.2 kB / 0.9892 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/0.3785, allocations: 45.69 kB / 0.9892 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3786, allocations: 120.5 kB / 0.9894 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.3787, allocations: 43.45 kB / 0.9894 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.3789, allocations: 117.6 kB / 0.9895 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.379, allocations: 326.8 kB / 0.9898 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.3793, allocations: 159.9 kB / 0.99 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/0.3797, allocations: 242.1 kB / 0.9902 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/0.3803, allocations: 414.7 kB / 0.9906 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3803, allocations: 4 kB / 0.9906 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001022/0.3813, allocations: 0.6147 MB / 0.9912 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.3814, allocations: 161.6 kB / 0.9914 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3815, allocations: 7.938 kB / 0.9914 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.3815, allocations: 4 kB / 0.9914 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.813e-05/0.3815, allocations: 12.28 kB / 0.9914 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.3816, allocations: 15.97 kB / 0.9914 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008311/0.3824, allocations: 143.5 kB / 0.9915 GB, free: 376 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.177e-05/0.3825, allocations: 35.98 kB / 0.9916 GB, free: 340 kB / 0.7136 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,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002023/0.3827, allocations: 157.5 kB / 0.9917 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.3827, allocations: 19.8 kB / 0.9917 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.3828, allocations: 21.81 kB / 0.9918 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3828, allocations: 64 / 0.9918 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.3828, allocations: 7.938 kB / 0.9918 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3828, allocations: 4 kB / 0.9918 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.3834, allocations: 0.5061 MB / 0.9923 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3835, allocations: 4 kB / 0.9923 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-05/0.3835, allocations: 0 / 0.9923 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.3835, allocations: 4 kB / 0.9923 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3835, allocations: 4 kB / 0.9923 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.3835, allocations: 7.984 kB / 0.9923 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3835, allocations: 0 / 0.9923 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.3843, allocations: 0.8932 MB / 0.9932 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.12e-05/0.3844, allocations: 92.86 kB / 0.9933 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.3844, allocations: 11.98 kB / 0.9933 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.236e-05/0.3845, allocations: 0 / 0.9933 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.3846, allocations: 19.97 kB / 0.9933 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.3846, allocations: 15.94 kB / 0.9933 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.932e-05/0.3847, allocations: 115.2 kB / 0.9934 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3847, allocations: 4 kB / 0.9934 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000496/0.3852, allocations: 87.83 kB / 0.9935 GB, free: 14.23 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: 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 (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.000236/0.3854, allocations: 111.2 kB / 0.9936 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007974/0.3863, allocations: 0.6143 MB / 0.9942 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3863, allocations: 0.6875 kB / 0.9942 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.3864, allocations: 79.91 kB / 0.9943 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.3868, allocations: 39.97 kB / 0.9943 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.3877, allocations: 0.528 MB / 0.9948 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.3881, allocations: 0.7245 MB / 0.9955 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.3882, allocations: 29.47 kB / 0.9956 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.3882, allocations: 19.44 kB / 0.9956 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.3882, allocations: 0 / 0.9956 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of Templates: time 0.01045/0.3987, allocations: 4.504 MB / 1 GB, free: 7.496 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)