Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01193/0.01193, allocations: 104.9 kB / 15.74 MB, free: 6.012 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.002044/0.002044, allocations: 199.2 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.1 MB / 222.6 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.802/1.802, allocations: 251.7 MB / 0.5094 GB, free: 3.02 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.91 kB / 0.7257 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2744, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006603/0.2811, allocations: 4.141 MB / 0.8321 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003241/0.2844, allocations: 1.38 MB / 0.8334 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000591/0.285, allocations: 19.94 kB / 0.8334 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.2856, allocations: 126.7 kB / 0.8335 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005331/0.2861, allocations: 182.4 kB / 0.8337 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009909/0.2871, allocations: 422.9 kB / 0.8341 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009194/0.288, allocations: 0.9631 MB / 0.8351 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006968/0.2887, allocations: 450.1 kB / 0.8355 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.2891, allocations: 342.7 kB / 0.8358 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.2894, allocations: 338.4 kB / 0.8361 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.2895, allocations: 92 kB / 0.8362 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.2897, allocations: 92 kB / 0.8363 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.2898, allocations: 171.4 kB / 0.8365 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.2902, allocations: 402 kB / 0.8369 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.2912, allocations: 1.059 MB / 0.8379 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2912, allocations: 0 / 0.8379 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2912, allocations: 0 / 0.8379 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.2912, allocations: 0 / 0.8379 GB, free: 6.031 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001848/0.2931, allocations: 1.077 MB / 0.8389 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2931, allocations: 8.031 kB / 0.839 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.2933, allocations: 84 kB / 0.839 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009853/0.2943, allocations: 0.5612 MB / 0.8396 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.2943, allocations: 45.69 kB / 0.8396 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-05/0.2944, allocations: 64.28 kB / 0.8397 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009992/0.2955, allocations: 0.6078 MB / 0.8403 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.2955, allocations: 7.984 kB / 0.8403 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.2955, allocations: 24 kB / 0.8403 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.2956, allocations: 12 kB / 0.8403 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009148/0.2965, allocations: 461 kB / 0.8408 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.2993, allocations: 1.993 MB / 0.8427 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000884/0.3002, allocations: 445 kB / 0.8431 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.3006, allocations: 234.1 kB / 0.8434 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/0.3007, allocations: 4.438 kB / 0.8434 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005108/0.3012, allocations: 265.2 kB / 0.8436 GB, free: 15.95 MB / 0.67 GB Notification: Performance of pre-optimization done (n=49): time 2.625e-06/0.3012, allocations: 4 kB / 0.8436 GB, free: 15.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.0013/0.3025, allocations: 0.5727 MB / 0.8442 GB, free: 15.38 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.3026, allocations: 67.83 kB / 0.8442 GB, free: 15.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/0.3031, allocations: 438 kB / 0.8447 GB, free: 14.86 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.3031, allocations: 37.7 kB / 0.8447 GB, free: 14.82 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.3034, allocations: 329 kB / 0.845 GB, free: 14.49 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.3036, allocations: 161.7 kB / 0.8452 GB, free: 14.33 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.3037, allocations: 94.16 kB / 0.8453 GB, free: 14.23 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3039, allocations: 366.8 kB / 0.8456 GB, free: 13.87 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.3043, allocations: 165 kB / 0.8458 GB, free: 13.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.3047, allocations: 253.8 kB / 0.846 GB, free: 13.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008095/0.3055, allocations: 455.9 kB / 0.8464 GB, free: 12.95 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3055, allocations: 3.938 kB / 0.8464 GB, free: 12.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001002/0.3065, allocations: 0.5624 MB / 0.847 GB, free: 12.37 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/0.3066, allocations: 37.64 kB / 0.847 GB, free: 12.33 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3066, allocations: 4 kB / 0.847 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.3066, allocations: 4.25 kB / 0.847 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.3071, allocations: 119.8 kB / 0.8471 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.3071, allocations: 4 kB / 0.8472 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.3075, allocations: 59.5 kB / 0.8472 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.3075, allocations: 16 kB / 0.8472 GB, free: 12.12 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.00025/0.3078, allocations: 206.2 kB / 0.8474 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.3078, allocations: 59.28 kB / 0.8475 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.308, allocations: 69.58 kB / 0.8475 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.308, allocations: 4 kB / 0.8475 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.308, allocations: 0 / 0.8475 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.308, allocations: 4 kB / 0.8476 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.3097, allocations: 1.182 MB / 0.8487 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3097, allocations: 0 / 0.8487 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.3102, allocations: 99.81 kB / 0.8488 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3102, allocations: 0 / 0.8488 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.3102, allocations: 15.98 kB / 0.8488 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3103, allocations: 4 kB / 0.8488 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3103, allocations: 0 / 0.8488 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.3116, allocations: 0.7612 MB / 0.8496 GB, free: 9.648 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.3117, allocations: 172.3 kB / 0.8497 GB, free: 9.461 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.3118, allocations: 12 kB / 0.8497 GB, free: 9.449 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.3121, allocations: 19.97 kB / 0.8498 GB, free: 9.43 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.3122, allocations: 36.39 kB / 0.8498 GB, free: 9.395 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.3122, allocations: 12 kB / 0.8498 GB, free: 9.383 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003359/0.3126, allocations: 314.8 kB / 0.8501 GB, free: 9.078 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3126, allocations: 4 kB / 0.8501 GB, free: 9.074 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004685/0.313, allocations: 139.5 kB / 0.8502 GB, free: 8.938 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001359/0.3132, allocations: 111.2 kB / 0.8503 GB, free: 8.816 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009225/0.3141, allocations: 485.5 kB / 0.8508 GB, free: 8.332 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3141, allocations: 0 / 0.8508 GB, free: 8.332 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.3145, allocations: 218.4 kB / 0.851 GB, free: 8.121 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007541/0.3153, allocations: 167.2 kB / 0.8512 GB, free: 7.969 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.3178, allocations: 1.349 MB / 0.8525 GB, free: 6.582 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.3183, allocations: 0.8859 MB / 0.8534 GB, free: 5.668 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002408/0.3185, allocations: 60.59 kB / 0.8534 GB, free: 5.605 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.3187, allocations: 39.44 kB / 0.8535 GB, free: 5.57 MB / 0.67 GB Notification: Performance of SimCode: time 4.3e-07/0.3187, allocations: 0 / 0.8535 GB, free: 5.57 MB / 0.67 GB Notification: Performance of Templates: time 0.01121/0.3299, allocations: 6.015 MB / 0.8593 GB, free: 15.63 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)