Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 102.9 kB / 16.35 MB, free: 5.879 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.001533/0.001533, allocations: 195.3 kB / 17.3 MB, free: 5.52 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.408/2.408, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.22 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2815, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001823/0.2833, allocations: 0.7162 MB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008486/0.2842, allocations: 0.8312 MB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.2842, allocations: 0 / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.2843, allocations: 3.938 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.855e-05/0.2843, allocations: 3.938 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.2845, allocations: 19.97 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.1e-05/0.2846, allocations: 39.86 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.2847, allocations: 19.97 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.803e-05/0.2847, allocations: 27.86 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.2848, allocations: 19.92 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.2848, allocations: 4 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.2848, allocations: 4 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.2848, allocations: 7.984 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.297e-05/0.2849, allocations: 19.88 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.501e-05/0.285, allocations: 47.84 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.285, allocations: 3.938 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.285, allocations: 0 / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.285, allocations: 4 kB / 1.028 GB, free: 268 kB / 0.795 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.0006243/0.2857, allocations: 379.4 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.2857, allocations: 8.031 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.2857, allocations: 12.78 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.881e-05/0.2858, allocations: 168.3 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.2859, allocations: 4.375 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.2859, allocations: 4.375 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.2861, allocations: 66.16 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2861, allocations: 192 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2861, allocations: 11.94 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.2861, allocations: 0 / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.2863, allocations: 43.95 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.2868, allocations: 300.7 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.287, allocations: 62.47 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.781e-05/0.2871, allocations: 29 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2872, allocations: 0 / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2872, allocations: 30.56 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.2872, allocations: 0 / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003578/0.2875, allocations: 93.56 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.2876, allocations: 55.41 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.2877, allocations: 113.8 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2877, allocations: 25.7 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.2877, allocations: 92.05 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.2878, allocations: 7.891 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.2878, allocations: 17.72 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2879, allocations: 318.8 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.092e-05/0.288, allocations: 23.97 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/0.2881, allocations: 23.98 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.2883, allocations: 44.81 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2883, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002012/0.2885, allocations: 77.97 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2885, allocations: 4 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.2885, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2885, allocations: 4 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.2886, allocations: 15.92 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2886, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.2887, allocations: 15.92 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.2888, allocations: 8 kB / 1.03 GB, free: 14.02 MB / 0.8106 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 (onOffController.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/0.2888, allocations: 117.7 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.2889, allocations: 11.91 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.2891, allocations: 85.48 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2891, allocations: 0 / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2891, allocations: 0 / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2891, allocations: 0 / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.2893, allocations: 173.6 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2893, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.2894, allocations: 8 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2894, allocations: 3.984 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.2894, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2894, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2894, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.2897, allocations: 167.7 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.2897, allocations: 85.09 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.2898, allocations: 7.984 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.2899, allocations: 19.97 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.2899, allocations: 11.98 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.29, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.328e-05/0.29, allocations: 87.28 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.29, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002164/0.2902, allocations: 8 kB / 1.031 GB, free: 13.13 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: 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 (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.0001146/0.2904, allocations: 103.2 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.2906, allocations: 47.95 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2906, allocations: 0 / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.169e-05/0.2907, allocations: 23.92 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.291, allocations: 12.22 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.2913, allocations: 134.1 kB / 1.031 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.2915, allocations: 0.6807 MB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.2916, allocations: 7.938 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.2916, allocations: 11.44 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2916, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of Templates: time 0.002893/0.2945, allocations: 0.8178 MB / 1.033 GB, free: 11.24 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)