Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.79/0.79, allocations: 127.4 MB / 134.9 MB, free: 3.473 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 181 kB / 164.6 MB, free: 11.59 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.2 MB / 399.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008688/0.0008688, allocations: 85.23 kB / 476.7 MB, free: 1.512 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.991e-05, allocations: 3.031 kB / 0.5466 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 76.77 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.2513, allocations: 109.2 MB / 0.7282 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.2516, allocations: 79.95 kB / 0.7283 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0333/0.2849, allocations: 13.04 MB / 0.741 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.293e-06/0.285, allocations: 0 / 0.741 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.606e-05/0.285, allocations: 20.12 kB / 0.741 GB, free: 0.5586 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.2958/0.5808, allocations: 0.8798 MB / 0.7419 GB, free: 109 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5809, allocations: 9.281 kB / 0.7419 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003421/0.5812, allocations: 89.53 kB / 0.742 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008483/0.5821, allocations: 0.5389 MB / 0.7425 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.5821, allocations: 18.88 kB / 0.7425 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.35e-05/0.5822, allocations: 34.69 kB / 0.7426 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007846/0.583, allocations: 405.7 kB / 0.7429 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008957/0.5839, allocations: 0.5271 MB / 0.7435 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.584, allocations: 9.172 kB / 0.7435 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.584, allocations: 4.375 kB / 0.7435 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.584, allocations: 15.09 kB / 0.7435 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003232/0.5873, allocations: 2.005 MB / 0.7454 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008399/0.5881, allocations: 410.7 kB / 0.7458 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.5885, allocations: 207.3 kB / 0.746 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.245e-05/0.5886, allocations: 13.77 kB / 0.746 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005166/0.5891, allocations: 235.8 kB / 0.7463 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 3.636e-06/0.5891, allocations: 3.875 kB / 0.7463 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50): time 0.0008736/0.59, allocations: 404.1 kB / 0.7467 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.5901, allocations: 163.6 kB / 0.7468 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.5906, allocations: 348.8 kB / 0.7471 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.5906, allocations: 29.97 kB / 0.7472 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.5909, allocations: 320.6 kB / 0.7475 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.591, allocations: 165.7 kB / 0.7476 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.5911, allocations: 1.031 kB / 0.7476 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.5912, allocations: 372.6 kB / 0.748 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.5915, allocations: 143.8 kB / 0.7481 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.5918, allocations: 246 kB / 0.7484 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.5921, allocations: 172.2 kB / 0.7485 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5921, allocations: 0.8125 kB / 0.7485 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007375/0.5929, allocations: 475.3 kB / 0.749 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.593, allocations: 0.6416 MB / 0.7496 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.593, allocations: 3.625 kB / 0.7496 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.5931, allocations: 4.469 kB / 0.7496 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/0.5936, allocations: 124.8 kB / 0.7497 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.5936, allocations: 8.766 kB / 0.7497 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.594, allocations: 70.11 kB / 0.7498 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.5941, allocations: 20.72 kB / 0.7498 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.5941, allocations: 6.688 kB / 0.7498 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006233/0.5947, allocations: 381.8 kB / 0.7502 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.5947, allocations: 1.312 kB / 0.7502 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.5947, allocations: 3.406 kB / 0.7502 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.5952, allocations: 111 kB / 0.7503 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5952, allocations: 6.828 kB / 0.7503 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.5956, allocations: 54.64 kB / 0.7504 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.5956, allocations: 19.17 kB / 0.7504 GB, free: 106 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.5957, allocations: 113.7 kB / 0.7505 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/0.5958, allocations: 58.59 kB / 0.7506 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.5959, allocations: 64.27 kB / 0.7506 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.596, allocations: 11.14 kB / 0.7506 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.596, allocations: 0 / 0.7506 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.596, allocations: 4.094 kB / 0.7506 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.5975, allocations: 1.104 MB / 0.7517 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5975, allocations: 4.922 kB / 0.7517 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/0.598, allocations: 108.7 kB / 0.7518 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.5981, allocations: 3.297 kB / 0.7518 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.5981, allocations: 3.891 kB / 0.7518 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5981, allocations: 1.438 kB / 0.7518 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5981, allocations: 5.188 kB / 0.7518 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009554/0.5991, allocations: 0.7147 MB / 0.7525 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.5993, allocations: 186.3 kB / 0.7527 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/0.5993, allocations: 3.422 kB / 0.7527 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.5997, allocations: 44.47 kB / 0.7527 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.5998, allocations: 34.31 kB / 0.7528 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.5999, allocations: 18.45 kB / 0.7528 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002712/0.6001, allocations: 279.2 kB / 0.7531 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6001, allocations: 0 / 0.7531 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006842/0.6008, allocations: 240.4 kB / 0.7533 GB, free: 105.1 MB / 0.5105 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.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001403/0.601, allocations: 127.5 kB / 0.7534 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009144/0.6019, allocations: 0.7134 MB / 0.7541 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.6019, allocations: 1.062 kB / 0.7541 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.6022, allocations: 199.8 kB / 0.7543 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007047/0.6029, allocations: 130.8 kB / 0.7544 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.6055, allocations: 1.251 MB / 0.7557 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.6059, allocations: 0.9078 MB / 0.7565 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005194/0.6065, allocations: 96.42 kB / 0.7566 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.6066, allocations: 40.23 kB / 0.7567 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/0.6066, allocations: 0 / 0.7567 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.01243/0.619, allocations: 6.947 MB / 0.7635 GB, free: 102.8 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)