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.755/1.755, allocations: 288.4 MB / 303.7 MB, free: 8.094 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.0009551/0.000955, allocations: 172.5 kB / 372.3 MB, free: 10.11 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.969/1.969, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0009747/0.0009745, allocations: 86.3 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006182/0.0006184, allocations: 14.03 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3174, allocations: 115.3 MB / 0.9802 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001182/0.3187, allocations: 430.7 kB / 0.9806 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.3198, allocations: 0.8282 MB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.3198, allocations: 4 kB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.116e-05/0.3199, allocations: 0 / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.862e-05/0.32, allocations: 3.938 kB / 0.9814 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.3202, allocations: 15.98 kB / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.289e-05/0.3203, allocations: 39.84 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.3205, allocations: 15.98 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.393e-05/0.3206, allocations: 8 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.836e-05/0.3207, allocations: 19.91 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.3207, allocations: 4 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.3207, allocations: 0 / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.3207, allocations: 7.938 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.3208, allocations: 41.61 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.279e-05/0.3209, allocations: 35.94 kB / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.3209, allocations: 0 / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.637e-06/0.3209, allocations: 0 / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3209, allocations: 0 / 0.9816 GB, free: 25.84 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.0006873/0.3216, allocations: 387.7 kB / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.3217, allocations: 8.031 kB / 0.9819 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.3218, allocations: 8.844 kB / 0.9819 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3219, allocations: 168.3 kB / 0.9821 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.3219, allocations: 4.375 kB / 0.9821 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3219, allocations: 4.375 kB / 0.9821 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.3222, allocations: 74.22 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3222, allocations: 192 / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.3222, allocations: 3.938 kB / 0.9822 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3222, allocations: 0 / 0.9822 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.3224, allocations: 59.95 kB / 0.9822 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005797/0.323, allocations: 308.6 kB / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.3233, allocations: 58.55 kB / 0.9826 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.089e-05/0.3234, allocations: 29 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3234, allocations: 4 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.3235, allocations: 38.55 kB / 0.9827 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.3235, allocations: 0 / 0.9827 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003648/0.3238, allocations: 105.6 kB / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.3239, allocations: 55.41 kB / 0.9828 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/0.324, allocations: 121.6 kB / 0.9829 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.324, allocations: 29.7 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.3241, allocations: 84.14 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.3241, allocations: 11.89 kB / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.3241, allocations: 4 kB / 0.9831 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.3242, allocations: 314.8 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.3243, allocations: 27.98 kB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.3244, allocations: 27.97 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3245, allocations: 65.03 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3245, allocations: 0 / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001881/0.3247, allocations: 85.66 kB / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3248, allocations: 11.98 kB / 0.9836 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3248, allocations: 0 / 0.9836 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3248, allocations: 0 / 0.9836 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.3249, allocations: 8 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3249, allocations: 0 / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.977e-05/0.325, allocations: 31.81 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.325, allocations: 4 kB / 0.9836 GB, free: 23.52 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 6.653e-05/0.3251, allocations: 117.8 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.3251, allocations: 0 / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.3253, allocations: 93.48 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3253, allocations: 4 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3253, allocations: 0 / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3254, allocations: 0 / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.3255, allocations: 173.6 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3255, allocations: 0 / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.3256, allocations: 8 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3256, allocations: 4 kB / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.3256, allocations: 3.984 kB / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3256, allocations: 0 / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3256, allocations: 4 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.3258, allocations: 183.3 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.3259, allocations: 81.11 kB / 0.9843 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.3259, allocations: 4 kB / 0.9843 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.326, allocations: 24.34 kB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.3261, allocations: 11.92 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.3261, allocations: 0 / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.449e-05/0.3261, allocations: 91.22 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.3261, allocations: 0 / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002031/0.3263, allocations: 8 kB / 0.9844 GB, free: 22.62 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.0001277/0.3265, allocations: 107.2 kB / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.3267, allocations: 59.89 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3267, allocations: 0 / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.709e-05/0.3268, allocations: 31.98 kB / 0.9846 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.3271, allocations: 8.266 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.3274, allocations: 135.1 kB / 0.9847 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.3276, allocations: 0.6887 MB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.342e-05/0.3276, allocations: 4 kB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.3277, allocations: 7.438 kB / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.3277, allocations: 0 / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of Templates: time 0.002534/0.3302, allocations: 0.6442 MB / 0.986 GB, free: 20.89 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)