Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 80.52 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 177.2 kB / 23.24 MB, free: 1.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.634/1.634, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.245/3.245, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.742e-05, allocations: 9.375 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006028/0.006056, allocations: 3.761 MB / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00267/0.008726, allocations: 1.332 MB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.00907, allocations: 27.81 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.00944, allocations: 134.6 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.00983, allocations: 186.3 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009103/0.01074, allocations: 425 kB / 1.007 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.01203, allocations: 0.9785 MB / 1.008 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005681/0.0126, allocations: 290.6 kB / 1.008 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007062/0.01331, allocations: 0.495 MB / 1.009 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.01367, allocations: 243.2 kB / 1.009 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.0138, allocations: 88 kB / 1.009 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.01394, allocations: 92 kB / 1.009 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.01413, allocations: 183.3 kB / 1.009 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.01443, allocations: 251.4 kB / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.01571, allocations: 1.09 MB / 1.01 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.01571, allocations: 0 / 1.01 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01571, allocations: 0 / 1.01 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.01572, allocations: 0 / 1.01 GB, free: 3.477 MB / 0.9636 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.002067/0.01779, allocations: 1.068 MB / 1.011 GB, free: 2.367 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.01783, allocations: 9.344 kB / 1.011 GB, free: 2.359 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.018, allocations: 88.38 kB / 1.012 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009349/0.01893, allocations: 0.5069 MB / 1.012 GB, free: 1.746 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.162e-05/0.01899, allocations: 45.62 kB / 1.012 GB, free: 1.699 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.01909, allocations: 60.38 kB / 1.012 GB, free: 1.641 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.0203, allocations: 0.6622 MB / 1.013 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.02033, allocations: 192 / 1.013 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.02038, allocations: 20.38 kB / 1.013 GB, free: 0.9219 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.02041, allocations: 19.94 kB / 1.013 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.02149, allocations: 457 kB / 1.013 GB, free: 464 kB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/0.02505, allocations: 1.702 MB / 1.015 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.02614, allocations: 417.7 kB / 1.015 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005098/0.02665, allocations: 222.3 kB / 1.016 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-05/0.0267, allocations: 8.5 kB / 1.016 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006617/0.02736, allocations: 254.2 kB / 1.016 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=49): time 3.126e-06/0.02737, allocations: 4 kB / 1.016 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of matching and sorting (n=49): time 0.001586/0.02895, allocations: 0.5865 MB / 1.016 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/0.02904, allocations: 63.84 kB / 1.016 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006695/0.02971, allocations: 429.9 kB / 1.017 GB, free: 12.69 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.02977, allocations: 29.7 kB / 1.017 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.03015, allocations: 341.5 kB / 1.017 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.03035, allocations: 174.5 kB / 1.017 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.03054, allocations: 94.34 kB / 1.017 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000263/0.0308, allocations: 362.8 kB / 1.018 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/0.03125, allocations: 194.9 kB / 1.018 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/0.03181, allocations: 280.3 kB / 1.018 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.03282, allocations: 455.3 kB / 1.019 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.03282, allocations: 3.938 kB / 1.019 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001287/0.03411, allocations: 0.5902 MB / 1.019 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.199e-05/0.03417, allocations: 33.7 kB / 1.019 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.03418, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/0.03421, allocations: 8 kB / 1.019 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000564/0.03478, allocations: 107.9 kB / 1.019 GB, free: 9.941 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.0348, allocations: 16.12 kB / 1.019 GB, free: 9.926 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.03513, allocations: 55.7 kB / 1.019 GB, free: 9.871 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.03517, allocations: 19.94 kB / 1.019 GB, free: 9.852 MB / 0.9792 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 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.000331/0.0355, allocations: 205.7 kB / 1.02 GB, free: 9.641 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-05/0.03559, allocations: 59.62 kB / 1.02 GB, free: 9.582 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.03576, allocations: 65.44 kB / 1.02 GB, free: 9.52 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.03577, allocations: 7.938 kB / 1.02 GB, free: 9.512 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.03578, allocations: 3.938 kB / 1.02 GB, free: 9.508 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.0358, allocations: 11.98 kB / 1.02 GB, free: 9.496 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.03792, allocations: 0.9845 MB / 1.021 GB, free: 8.469 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.03792, allocations: 0 / 1.021 GB, free: 8.469 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.03843, allocations: 99.88 kB / 1.021 GB, free: 8.371 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.03844, allocations: 4 kB / 1.021 GB, free: 8.367 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.03848, allocations: 11.94 kB / 1.021 GB, free: 8.355 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.03848, allocations: 11.94 kB / 1.021 GB, free: 8.344 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.03849, allocations: 0 / 1.021 GB, free: 8.344 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.04021, allocations: 0.7553 MB / 1.022 GB, free: 7.574 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.0404, allocations: 95.53 kB / 1.022 GB, free: 7.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.767e-05/0.04047, allocations: 19.92 kB / 1.022 GB, free: 7.461 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.04075, allocations: 23.98 kB / 1.022 GB, free: 7.438 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.04088, allocations: 40.42 kB / 1.022 GB, free: 7.398 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.04091, allocations: 8 kB / 1.022 GB, free: 7.391 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003852/0.04129, allocations: 299.1 kB / 1.022 GB, free: 7.098 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.04129, allocations: 0 / 1.022 GB, free: 7.098 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004735/0.04177, allocations: 143.6 kB / 1.022 GB, free: 6.957 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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.0001868/0.04195, allocations: 119.1 kB / 1.022 GB, free: 6.828 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.04298, allocations: 487.3 kB / 1.023 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.04298, allocations: 0 / 1.023 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.04343, allocations: 210.7 kB / 1.023 GB, free: 6.133 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007848/0.04421, allocations: 152.7 kB / 1.023 GB, free: 5.996 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.04717, allocations: 1.258 MB / 1.024 GB, free: 4.703 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.04755, allocations: 292.7 kB / 1.025 GB, free: 4.391 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003112/0.04786, allocations: 64.53 kB / 1.025 GB, free: 4.324 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.04798, allocations: 36.5 kB / 1.025 GB, free: 4.289 MB / 0.9792 GB Notification: Performance of SimCode: time 3.176e-06/0.04799, allocations: 0 / 1.025 GB, free: 4.289 MB / 0.9792 GB Notification: Performance of Templates: time 0.01355/0.06153, allocations: 5.78 MB / 1.03 GB, free: 14.65 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.142413720488548]