Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.9033/0.9033, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 188.8 kB / 169.7 MB, free: 1.734 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.548/1.548, allocations: 205.1 MB / 404.5 MB, free: 1.664 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.0008229/0.0008229, allocations: 79.64 kB / 481.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.922e-05, allocations: 0 / 0.5532 GB, free: 54.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1259, allocations: 76.76 MB / 0.6282 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4611/0.587, allocations: 110.8 MB / 0.7364 GB, free: 2.676 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.5872, allocations: 84.44 kB / 0.7364 GB, free: 2.629 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0194/0.6066, allocations: 7.887 MB / 0.7441 GB, free: 12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6067, allocations: 4.125 kB / 0.7442 GB, free: 12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.036e-05/0.6067, allocations: 11.94 kB / 0.7442 GB, free: 11.99 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009106/0.6076, allocations: 0.6404 MB / 0.7448 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.6077, allocations: 12.03 kB / 0.7448 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.6078, allocations: 59.3 kB / 0.7449 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.6084, allocations: 399.8 kB / 0.7452 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.6084, allocations: 30.22 kB / 0.7453 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/0.6085, allocations: 42.47 kB / 0.7453 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.6091, allocations: 393 kB / 0.7457 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.6091, allocations: 7.938 kB / 0.7457 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.6092, allocations: 17.06 kB / 0.7457 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.6092, allocations: 11.95 kB / 0.7457 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/0.6096, allocations: 255.2 kB / 0.746 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.6113, allocations: 1.387 MB / 0.7473 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/0.6119, allocations: 313.3 kB / 0.7476 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.6121, allocations: 123 kB / 0.7477 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.6121, allocations: 7.984 kB / 0.7477 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.6124, allocations: 170.5 kB / 0.7479 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.6124, allocations: 4 kB / 0.7479 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.0004879/0.6129, allocations: 275.3 kB / 0.7482 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/0.613, allocations: 147.7 kB / 0.7483 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.6133, allocations: 313.6 kB / 0.7486 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.6134, allocations: 36.95 kB / 0.7486 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.6135, allocations: 226 kB / 0.7489 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.565e-05/0.6136, allocations: 108.7 kB / 0.749 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/0.6136, allocations: 3.875 kB / 0.749 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6137, allocations: 352.5 kB / 0.7493 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.6139, allocations: 90.62 kB / 0.7494 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.6141, allocations: 163.4 kB / 0.7495 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.6143, allocations: 107.7 kB / 0.7496 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6143, allocations: 3.984 kB / 0.7497 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000448/0.6147, allocations: 323.9 kB / 0.75 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.6149, allocations: 455.9 kB / 0.7504 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6149, allocations: 0 / 0.7504 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.6149, allocations: 4 kB / 0.7504 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.6152, allocations: 71.22 kB / 0.7505 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.6152, allocations: 4 kB / 0.7505 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.6155, allocations: 47.44 kB / 0.7505 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.6155, allocations: 15.31 kB / 0.7505 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.6155, allocations: 4 kB / 0.7505 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003737/0.6159, allocations: 266.2 kB / 0.7508 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6159, allocations: 8 kB / 0.7508 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.6159, allocations: 3.938 kB / 0.7508 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.6162, allocations: 59.91 kB / 0.7509 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.6162, allocations: 4 kB / 0.7509 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.6164, allocations: 39.11 kB / 0.7509 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.6164, allocations: 11.41 kB / 0.7509 GB, free: 6.117 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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 9.711e-05/0.6165, allocations: 131.6 kB / 0.751 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.6166, allocations: 35.53 kB / 0.7511 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.6167, allocations: 49.77 kB / 0.7511 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6167, allocations: 4 kB / 0.7511 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6167, allocations: 0 / 0.7511 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.6167, allocations: 3.984 kB / 0.7511 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009632/0.6177, allocations: 0.8394 MB / 0.7519 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6177, allocations: 3.953 kB / 0.7519 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.618, allocations: 51.91 kB / 0.752 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.618, allocations: 8.031 kB / 0.752 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.618, allocations: 4 kB / 0.752 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.618, allocations: 4 kB / 0.752 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.618, allocations: 0 / 0.752 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.6187, allocations: 0.499 MB / 0.7525 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.6188, allocations: 148.5 kB / 0.7526 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/0.6189, allocations: 8 kB / 0.7526 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.6191, allocations: 31.97 kB / 0.7527 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.6192, allocations: 31.84 kB / 0.7527 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.6192, allocations: 7.984 kB / 0.7527 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002382/0.6195, allocations: 250.2 kB / 0.753 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6195, allocations: 0 / 0.753 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004427/0.6199, allocations: 155.5 kB / 0.7531 GB, free: 3.922 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001428/0.6201, allocations: 115 kB / 0.7532 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000626/0.6207, allocations: 406.9 kB / 0.7536 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6207, allocations: 0 / 0.7536 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.6209, allocations: 143.7 kB / 0.7537 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.6214, allocations: 73.5 kB / 0.7538 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.6224, allocations: 0.5934 MB / 0.7544 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.6228, allocations: 0.8317 MB / 0.7552 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002827/0.6231, allocations: 77.2 kB / 0.7553 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.949e-05/0.6232, allocations: 27.44 kB / 0.7553 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.6232, allocations: 0 / 0.7553 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of Templates: time 0.008169/0.6314, allocations: 4.586 MB / 0.7598 GB, free: 13.05 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)