Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_1.6_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_1.6_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.00172/0.00172, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002331/0.002331, allocations: 193.5 kB / 16.14 MB, free: 6.688 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 472.6 MB / 0.7447 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 60.39 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2896, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002061/0.2917, allocations: 0.7698 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.2927, allocations: 0.8312 MB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.2928, allocations: 4 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.2928, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.733e-05/0.2929, allocations: 7.922 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.2931, allocations: 19.98 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.2932, allocations: 39.91 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2933, allocations: 15.98 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.306e-05/0.2933, allocations: 23.86 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.2934, allocations: 19.91 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.2934, allocations: 4 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.2934, allocations: 4 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.2934, allocations: 11.92 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.2935, allocations: 11.94 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.768e-05/0.2936, allocations: 39.86 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2936, allocations: 0 / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2936, allocations: 0 / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.2936, allocations: 0 / 1.069 GB, free: 9.043 MB / 0.8262 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.0006207/0.2942, allocations: 387.7 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2942, allocations: 8.031 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.2943, allocations: 4.844 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2944, allocations: 180.2 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2944, allocations: 384 / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.2945, allocations: 8.375 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.2947, allocations: 62.22 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.2947, allocations: 192 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2947, allocations: 11.88 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2947, allocations: 3.938 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.2949, allocations: 43.95 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.2954, allocations: 296.7 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.2957, allocations: 58.48 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.908e-05/0.2958, allocations: 25 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.2958, allocations: 0 / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2959, allocations: 38.55 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.2959, allocations: 0 / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003676/0.2962, allocations: 93.55 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.2963, allocations: 55.41 kB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.295e-05/0.2964, allocations: 113.8 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.2964, allocations: 25.7 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.2964, allocations: 84.14 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.2965, allocations: 15.89 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.2965, allocations: 13.72 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2966, allocations: 318.8 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.2967, allocations: 27.97 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.2968, allocations: 19.98 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.297, allocations: 40.81 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.297, allocations: 0 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002247/0.2972, allocations: 73.66 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2973, allocations: 13.41 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2973, allocations: 4.266 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.2973, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.581e-05/0.2974, allocations: 15.98 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2974, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.2975, allocations: 19.83 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.2975, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 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.296e-05/0.2976, allocations: 125.8 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.2976, allocations: 3.938 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.2979, allocations: 81.55 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2979, allocations: 384 / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2979, allocations: 4 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.298, allocations: 3.984 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.2981, allocations: 177.6 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2981, allocations: 3.938 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.49e-05/0.2982, allocations: 15.98 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2982, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.2982, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2982, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2982, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.2985, allocations: 171.4 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.2985, allocations: 77.11 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.2986, allocations: 7.984 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.2987, allocations: 19.98 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.2988, allocations: 3.984 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.2988, allocations: 4 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.2988, allocations: 95.2 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2988, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002272/0.2991, allocations: 4 kB / 1.072 GB, free: 5.906 MB / 0.8262 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.0001163/0.2992, allocations: 103.2 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.2994, allocations: 43.95 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2994, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.2995, allocations: 23.98 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.2998, allocations: 14.94 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.3002, allocations: 149.5 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.3004, allocations: 0.6848 MB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.3005, allocations: 4 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.3005, allocations: 7.438 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3005, allocations: 4 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.002676/0.3032, allocations: 0.6613 MB / 1.074 GB, free: 4.164 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)