Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.787/1.787, allocations: 288.3 MB / 303.2 MB, free: 8.184 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.001116/0.001116, allocations: 197 kB / 371.9 MB, free: 10.26 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.829/1.829, allocations: 205.4 MB / 0.6306 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 102.8 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004365, allocations: 25.64 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2767, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0009286/0.2777, allocations: 434.7 kB / 0.9799 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009329/0.2786, allocations: 0.8165 MB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.2787, allocations: 4 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.2787, allocations: 3.938 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.919e-05/0.2788, allocations: 3.984 kB / 0.9807 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.2789, allocations: 12 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.522e-05/0.279, allocations: 19.97 kB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2791, allocations: 19.97 kB / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.2791, allocations: 15.92 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.2792, allocations: 15.92 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.2792, allocations: 4 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.2792, allocations: 0 / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.2793, allocations: 7.938 kB / 0.9808 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.2793, allocations: 29.7 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.576e-05/0.2794, allocations: 31.91 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.2794, allocations: 0 / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2794, allocations: 4 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2794, allocations: 0 / 0.9808 GB, free: 26.24 MB / 0.6198 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.000574/0.28, allocations: 388.9 kB / 0.9812 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.28, allocations: 12.03 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.2801, allocations: 3.906 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.699e-05/0.2802, allocations: 171 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.2802, allocations: 0 / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.2802, allocations: 4 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.2804, allocations: 77.53 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.2804, allocations: 0 / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2804, allocations: 4 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2804, allocations: 0 / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.2806, allocations: 51.95 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.2811, allocations: 304.7 kB / 0.9818 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.2814, allocations: 66.48 kB / 0.9819 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.2814, allocations: 0 / 0.9819 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.2814, allocations: 34.56 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2814, allocations: 0 / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003563/0.2818, allocations: 113.7 kB / 0.982 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.2818, allocations: 51.41 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.2819, allocations: 121.8 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.2819, allocations: 25.7 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.2819, allocations: 92.14 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.2819, allocations: 11.88 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.282, allocations: 0 / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.05e-05/0.282, allocations: 322.8 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-05/0.2821, allocations: 27.98 kB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.374e-05/0.2822, allocations: 27.98 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.112e-05/0.2823, allocations: 27.97 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2823, allocations: 0 / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001852/0.2825, allocations: 89.59 kB / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2825, allocations: 8 kB / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2825, allocations: 0 / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2825, allocations: 0 / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.526e-05/0.2826, allocations: 11.98 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2826, allocations: 0 / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.2827, allocations: 27.92 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2827, allocations: 3.953 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.72e-05/0.2828, allocations: 113.8 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.2828, allocations: 7.906 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.2831, allocations: 93.55 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2831, allocations: 0 / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2831, allocations: 3.938 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2831, allocations: 3.938 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.2832, allocations: 173.6 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2832, allocations: 384 / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.2833, allocations: 11.98 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2833, allocations: 0 / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.2833, allocations: 0 / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2833, allocations: 11.94 kB / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2833, allocations: 0 / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.2835, allocations: 179.4 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.2836, allocations: 81.11 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.2836, allocations: 4 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.2837, allocations: 23.97 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.2838, allocations: 7.984 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.2838, allocations: 0 / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.109e-05/0.2838, allocations: 95.2 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2838, allocations: 4 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001991/0.284, allocations: 4 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001124/0.2842, allocations: 103.7 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.2844, allocations: 55.94 kB / 0.9837 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2844, allocations: 8 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.079e-05/0.2845, allocations: 23.98 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.2847, allocations: 12.7 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.285, allocations: 137.6 kB / 0.9839 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.2851, allocations: 0.6809 MB / 0.9846 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.2852, allocations: 4 kB / 0.9846 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.2852, allocations: 15.36 kB / 0.9846 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2852, allocations: 0 / 0.9846 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.002358/0.2876, allocations: 0.6326 MB / 0.9852 GB, free: 21.37 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)