Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_latest_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_latest_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.001446/0.001446, allocations: 104 kB / 16.35 MB, free: 5.824 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.001667/0.001667, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.416/2.416, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 70.11 kB / 0.8773 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2669, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001915/0.2689, allocations: 0.7332 MB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2704, allocations: 1.261 MB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.2704, allocations: 4.125 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.2705, allocations: 7.875 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8e-05/0.2706, allocations: 15.84 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007425/0.2713, allocations: 317 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.2716, allocations: 275.6 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.378e-05/0.2717, allocations: 16.17 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.2718, allocations: 103.9 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.272, allocations: 95.72 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.272, allocations: 24 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.2722, allocations: 32 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.2722, allocations: 19.86 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.2723, allocations: 87.73 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.2726, allocations: 219.4 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2726, allocations: 0 / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2726, allocations: 0 / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2726, allocations: 0 / 1.03 GB, free: 14.81 MB / 0.8106 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.0005705/0.2732, allocations: 497.6 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2732, allocations: 8.031 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.2733, allocations: 16.84 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.2734, allocations: 172.3 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2735, allocations: 8.375 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.2735, allocations: 16.36 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.2736, allocations: 58.17 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2736, allocations: 3.938 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.2737, allocations: 7.938 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2737, allocations: 0 / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.072e-05/0.2737, allocations: 27.98 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.2743, allocations: 412.4 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.107e-05/0.2744, allocations: 34.5 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.2744, allocations: 16.86 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.2744, allocations: 4 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.2747, allocations: 111.4 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.2747, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0003323/0.275, allocations: 137.5 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.2751, allocations: 51.41 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2752, allocations: 140.9 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.2752, allocations: 41.64 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.2753, allocations: 92.05 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.2753, allocations: 15.81 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.2755, allocations: 81.66 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2756, allocations: 318.8 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.2758, allocations: 91.94 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.276, allocations: 130 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.2763, allocations: 243 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2763, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005569/0.2768, allocations: 378.4 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.868e-05/0.2769, allocations: 101.1 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2769, allocations: 0 / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.2769, allocations: 4 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.576e-05/0.277, allocations: 4 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.277, allocations: 3.938 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.2774, allocations: 83.94 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.2775, allocations: 24.36 kB / 1.033 GB, free: 11.21 MB / 0.8106 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.0001096/0.2776, allocations: 135.3 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.2776, allocations: 7.906 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.2777, allocations: 8.375 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2777, allocations: 3.938 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2777, allocations: 0 / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.2777, allocations: 8 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.2779, allocations: 193.6 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2779, allocations: 0 / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.2779, allocations: 0 / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2779, allocations: 3.938 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.2779, allocations: 7.984 kB / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2779, allocations: 0 / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2779, allocations: 0 / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.2781, allocations: 140.9 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.2782, allocations: 88.95 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2782, allocations: 3.984 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.343e-05/0.2782, allocations: 4 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.2783, allocations: 11.98 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.2783, allocations: 4 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.418e-05/0.2783, allocations: 95.27 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2783, allocations: 0 / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002638/0.2786, allocations: 40 kB / 1.034 GB, free: 10.38 MB / 0.8106 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.0001336/0.2787, allocations: 115.2 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004474/0.2792, allocations: 369.9 kB / 1.034 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2792, allocations: 0 / 1.034 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.906e-05/0.2793, allocations: 39.92 kB / 1.034 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.2795, allocations: 28.58 kB / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.2799, allocations: 194.9 kB / 1.034 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.2802, allocations: 0.6924 MB / 1.035 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.2802, allocations: 8.422 kB / 1.035 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.2802, allocations: 15.42 kB / 1.035 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.2802, allocations: 4 kB / 1.035 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of Templates: time 0.005322/0.2856, allocations: 2.623 MB / 1.038 GB, free: 6.23 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)