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.00116/0.001161, allocations: 107 kB / 16.36 MB, free: 6.336 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.001141/0.001141, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 67.27 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2848, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002137/0.287, allocations: 0.7165 MB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009595/0.2879, allocations: 0.8351 MB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.288, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.2881, allocations: 3.938 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.747e-05/0.2881, allocations: 7.938 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.2883, allocations: 19.97 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.577e-05/0.2884, allocations: 39.86 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.2885, allocations: 19.97 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.907e-05/0.2886, allocations: 19.92 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.2887, allocations: 15.92 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.2887, allocations: 8 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.2887, allocations: 4 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.2887, allocations: 8 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.2888, allocations: 23.86 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.555e-05/0.2889, allocations: 51.78 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2889, allocations: 0 / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2889, allocations: 0 / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2889, allocations: 0 / 1.028 GB, free: 252 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.0006372/0.2895, allocations: 383.4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2896, allocations: 8.031 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.2896, allocations: 12.78 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.2898, allocations: 168.3 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2898, allocations: 4.375 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.2898, allocations: 4.375 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.29, allocations: 70.22 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.29, allocations: 3.938 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.29, allocations: 3.984 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.29, allocations: 0 / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.2902, allocations: 47.89 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.2907, allocations: 304.7 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.291, allocations: 50.55 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.244e-05/0.2911, allocations: 28.94 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.2911, allocations: 0 / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2912, allocations: 38.56 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.2912, allocations: 3.938 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003623/0.2915, allocations: 89.62 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.2916, allocations: 51.41 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.2917, allocations: 113.8 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.2917, allocations: 25.7 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.2917, allocations: 96.05 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.2918, allocations: 3.906 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.2918, allocations: 25.64 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2919, allocations: 318.8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/0.292, allocations: 19.98 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.879e-05/0.2921, allocations: 23.97 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.2923, allocations: 40.83 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2923, allocations: 0 / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002015/0.2925, allocations: 77.66 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2925, allocations: 7.984 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.2925, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2925, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.2926, allocations: 11.94 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2926, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.2927, allocations: 27.91 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.2927, allocations: 0 / 1.03 GB, free: 14 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 7.323e-05/0.2928, allocations: 121.7 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.2929, allocations: 7.906 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.2931, allocations: 81.55 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2931, allocations: 4 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2931, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2931, allocations: 384 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.2933, allocations: 173.6 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2933, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.2934, allocations: 11.94 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2934, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.2934, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2934, allocations: 4.359 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2934, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.2936, allocations: 179.3 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.2937, allocations: 77.11 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.2937, allocations: 3.938 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.2938, allocations: 23.97 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.2939, allocations: 12 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.2939, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.2939, allocations: 91.27 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2939, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000219/0.2942, allocations: 4 kB / 1.031 GB, free: 13.12 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.0001015/0.2943, allocations: 103.2 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.2945, allocations: 47.89 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2945, allocations: 8 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.023e-05/0.2946, allocations: 23.97 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.2949, allocations: 8 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.2952, allocations: 130 kB / 1.031 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.2954, allocations: 0.6885 MB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.2955, allocations: 4 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.2955, allocations: 11.44 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.2955, allocations: 0 / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of Templates: time 0.002755/0.2983, allocations: 0.8165 MB / 1.033 GB, free: 11.23 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 gbode -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)