Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002232/0.002232, allocations: 195 kB / 16.14 MB, free: 6.664 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 70.77 kB / 0.9114 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2972, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002875/0.3001, allocations: 1.852 MB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3014, allocations: 0.791 MB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.243e-05/0.3015, allocations: 4 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.3016, allocations: 15.86 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.472e-05/0.3017, allocations: 35.7 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008089/0.3025, allocations: 357.7 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.3029, allocations: 391.1 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.303, allocations: 64.06 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.3032, allocations: 147.6 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.3033, allocations: 143.5 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.3034, allocations: 24 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3035, allocations: 35.98 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.3036, allocations: 51.77 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.3037, allocations: 159.4 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.3041, allocations: 371.2 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3041, allocations: 0 / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.61e-07/0.3041, allocations: 0 / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3041, allocations: 0 / 1.072 GB, free: 6.52 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008119/0.3049, allocations: 0.6316 MB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.305, allocations: 8.031 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.325e-05/0.3051, allocations: 36.67 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007755/0.3059, allocations: 301 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.3059, allocations: 24.69 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.306, allocations: 40.36 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.3063, allocations: 180.7 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.3063, allocations: 3.938 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.3063, allocations: 11.98 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3063, allocations: 4 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.3065, allocations: 111.8 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009193/0.3075, allocations: 0.5936 MB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.3078, allocations: 198.5 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3079, allocations: 84.77 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.3079, allocations: 0 / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004126/0.3084, allocations: 258.8 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=36): time 1.563e-06/0.3084, allocations: 0 / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36): time 0.0007183/0.3091, allocations: 415 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.3092, allocations: 63.39 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3093, allocations: 191 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.3094, allocations: 49.69 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.899e-05/0.3095, allocations: 136.7 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/0.3096, allocations: 78.98 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.3098, allocations: 134.1 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3099, allocations: 338.8 kB / 1.076 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.3102, allocations: 149 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.3106, allocations: 275.3 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.3111, allocations: 427 kB / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3111, allocations: 0 / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009171/0.312, allocations: 0.5802 MB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.904e-05/0.3121, allocations: 101.1 kB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3121, allocations: 4 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3121, allocations: 4 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.3123, allocations: 43.86 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.3123, allocations: 8 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.3128, allocations: 103.8 kB / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.3129, allocations: 32.08 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 (accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer.yAcc,$PRE.accuTimer.yAcc,resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.y,$whenCondition3,pre.y,$PRE.pre.u,$whenCondition9,con.y,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,booPul2.y,$PRE.booPul2.y,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,$whenCondition7,$whenCondition8,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul.y,$PRE.booPul.y,pre.u,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001789/0.3131, allocations: 174.8 kB / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.3131, allocations: 31.72 kB / 1.077 GB, free: 368 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.3132, allocations: 30.64 kB / 1.077 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3132, allocations: 4 kB / 1.077 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.3132, allocations: 4 kB / 1.077 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3132, allocations: 0 / 1.077 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000907/0.3141, allocations: 0.7127 MB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3142, allocations: 0 / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.3142, allocations: 19.92 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3142, allocations: 4 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.3143, allocations: 11.98 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3143, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3143, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005459/0.3148, allocations: 427 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.3149, allocations: 100.8 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.3149, allocations: 11.98 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3151, allocations: 15.92 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.3151, allocations: 31.95 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.3152, allocations: 16 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001011/0.3153, allocations: 125.2 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3153, allocations: 0 / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003995/0.3157, allocations: 99.83 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.000192/0.3159, allocations: 125.4 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007425/0.3166, allocations: 0.5301 MB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3166, allocations: 0 / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.3169, allocations: 147.7 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.3173, allocations: 40.7 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007644/0.318, allocations: 478.6 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.3184, allocations: 0.749 MB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.3185, allocations: 34.97 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.3186, allocations: 23.44 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of SimCode: time 1.833e-06/0.3186, allocations: 192 / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of Templates: time 0.007897/0.3265, allocations: 3.601 MB / 1.085 GB, free: 8.898 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)