Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.729/1.729, allocations: 287.5 MB / 302.6 MB, free: 8.207 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.001155/0.001155, allocations: 186.3 kB / 371.2 MB, free: 10.77 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.846/1.846, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0009297/0.0009302, allocations: 83.69 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004586/0.0004586, allocations: 12.06 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3018, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001273/0.3032, allocations: 438.4 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3044, allocations: 0.8205 MB / 0.9799 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.3045, allocations: 0 / 0.9799 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.3046, allocations: 0 / 0.9799 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.224e-05/0.3046, allocations: 15.86 kB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.3049, allocations: 11.97 kB / 0.9799 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.245e-05/0.305, allocations: 35.92 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3051, allocations: 15.94 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.425e-05/0.3052, allocations: 15.98 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.194e-05/0.3053, allocations: 15.92 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3053, allocations: 0 / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.3053, allocations: 4 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.3053, allocations: 11.91 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.3054, allocations: 33.7 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.524e-05/0.3055, allocations: 23.94 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3055, allocations: 0 / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.248e-06/0.3055, allocations: 4 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3055, allocations: 4 kB / 0.9801 GB, free: 26.73 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.0006437/0.3062, allocations: 389.7 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3062, allocations: 8.031 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.3063, allocations: 8.844 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.3064, allocations: 172.3 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.3064, allocations: 4.359 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.3064, allocations: 4.375 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.3067, allocations: 66.23 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3067, allocations: 192 / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3067, allocations: 3.938 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3067, allocations: 4 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.3069, allocations: 51.95 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.3075, allocations: 312.6 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.3078, allocations: 58.55 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.442e-05/0.3079, allocations: 29 kB / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.308, allocations: 3.984 kB / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.308, allocations: 38.55 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.308, allocations: 4 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003913/0.3084, allocations: 105.6 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.3084, allocations: 51.41 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.3085, allocations: 125.7 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.3085, allocations: 25.7 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.3086, allocations: 96.06 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.3086, allocations: 3.906 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.3086, allocations: 0 / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.3087, allocations: 318.8 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.344e-05/0.3088, allocations: 31.97 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.3089, allocations: 27.98 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.3091, allocations: 56.75 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3091, allocations: 0 / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002078/0.3093, allocations: 85.66 kB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3093, allocations: 4 kB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3094, allocations: 0 / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.3094, allocations: 0 / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.389e-05/0.3095, allocations: 16 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3095, allocations: 7.969 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.3096, allocations: 27.83 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3096, allocations: 4 kB / 0.9822 GB, free: 24.41 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 9.506e-05/0.3097, allocations: 113.8 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.3098, allocations: 4 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.31, allocations: 93.48 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.3101, allocations: 0 / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.3101, allocations: 4 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3101, allocations: 4 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.3103, allocations: 173.6 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3103, allocations: 0 / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.466e-05/0.3104, allocations: 8 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.3104, allocations: 3.984 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.3104, allocations: 4 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3104, allocations: 0 / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3104, allocations: 0 / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.3108, allocations: 187.3 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.3108, allocations: 81.53 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3108, allocations: 0 / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.311, allocations: 27.97 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.3111, allocations: 7.984 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.3111, allocations: 384 / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.3111, allocations: 95.2 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3111, allocations: 3.938 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002245/0.3113, allocations: 8 kB / 0.9829 GB, free: 23.51 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.0001755/0.3115, allocations: 99.23 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.3118, allocations: 63.89 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3118, allocations: 0 / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3119, allocations: 31.98 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3123, allocations: 11.94 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.3128, allocations: 128.6 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.3131, allocations: 0.6848 MB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.957e-05/0.3132, allocations: 8 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.3132, allocations: 7.438 kB / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.3132, allocations: 0 / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.003145/0.3164, allocations: 0.6287 MB / 0.9846 GB, free: 21.8 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)