Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.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.001695/0.001696, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002388/0.002388, allocations: 198.1 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7447 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 61.94 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2989, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001924/0.3008, allocations: 0.7722 MB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3024, allocations: 1.311 MB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.3024, allocations: 0 / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.3025, allocations: 3.938 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.3026, allocations: 15.86 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007478/0.3033, allocations: 288.3 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.3035, allocations: 223.6 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.37e-05/0.3036, allocations: 20.17 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.3038, allocations: 91.8 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3039, allocations: 75.77 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.304, allocations: 12 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.032e-05/0.304, allocations: 27.92 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.3041, allocations: 11.98 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.3042, allocations: 79.73 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.3044, allocations: 211.7 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3044, allocations: 0 / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3044, allocations: 0 / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.3045, allocations: 0 / 1.071 GB, free: 7.773 MB / 0.8262 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.0005566/0.305, allocations: 496.4 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.3051, allocations: 8.031 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.486e-05/0.3051, allocations: 16.84 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.3053, allocations: 172.2 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3053, allocations: 8.375 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.3053, allocations: 12.38 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.3054, allocations: 62.2 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3055, allocations: 3.938 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3055, allocations: 7.938 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3055, allocations: 7.938 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.903e-05/0.3055, allocations: 23.98 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.3061, allocations: 408.5 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.896e-05/0.3061, allocations: 34.56 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.3062, allocations: 20.8 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.3062, allocations: 11.98 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.3064, allocations: 103.3 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.3064, allocations: 0 / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0002893/0.3067, allocations: 137.5 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.3067, allocations: 55.41 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3068, allocations: 131.6 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.3069, allocations: 37.7 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.307, allocations: 104.2 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.307, allocations: 15.72 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.3071, allocations: 69.67 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3072, allocations: 326.7 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.3074, allocations: 95.88 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.3076, allocations: 130 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.3079, allocations: 235 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3079, allocations: 8 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005818/0.3085, allocations: 366.4 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.861e-05/0.3086, allocations: 105.1 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3086, allocations: 0 / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3086, allocations: 4 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.263e-05/0.3087, allocations: 4 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3087, allocations: 0 / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.3092, allocations: 88.33 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.3092, allocations: 23.98 kB / 1.074 GB, free: 4.172 MB / 0.8262 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.0001033/0.3093, allocations: 129.7 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.3094, allocations: 7.906 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.3094, allocations: 16.36 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3094, allocations: 0 / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3094, allocations: 0 / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3094, allocations: 4 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.3096, allocations: 197.5 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3096, allocations: 0 / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.317e-05/0.3096, allocations: 3.984 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3096, allocations: 0 / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.3096, allocations: 4 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3096, allocations: 0 / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3096, allocations: 3.938 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.3098, allocations: 140.9 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.3098, allocations: 88.95 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3099, allocations: 7.938 kB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.327e-05/0.3099, allocations: 0 / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.3099, allocations: 11.98 kB / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.31, allocations: 4 kB / 1.074 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.803e-05/0.31, allocations: 96.95 kB / 1.074 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.31, allocations: 0 / 1.074 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002781/0.3103, allocations: 47.98 kB / 1.075 GB, free: 3.328 MB / 0.8262 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.0001391/0.3104, allocations: 103.2 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00043/0.3109, allocations: 373.9 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3109, allocations: 0 / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.05e-05/0.311, allocations: 35.98 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.3112, allocations: 26.47 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.3116, allocations: 200.7 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.3118, allocations: 0.6965 MB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.3119, allocations: 12.42 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.3119, allocations: 11.44 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3119, allocations: 0 / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of Templates: time 0.005056/0.317, allocations: 2.5 MB / 1.078 GB, free: 15.32 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)