Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 117.4 kB / 17.09 MB, free: 6.008 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.001036/0.001036, allocations: 189.6 kB / 18.02 MB, free: 5.094 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.281/1.281, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6783/0.6783, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.98 kB / 0.5583 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1653, allocations: 76.18 MB / 0.6327 GB, free: 4.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.004935/0.1703, allocations: 3.705 MB / 0.6363 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002717/0.1731, allocations: 1.329 MB / 0.6376 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004759/0.1736, allocations: 31.81 kB / 0.6376 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.174, allocations: 122.7 kB / 0.6378 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005274/0.1745, allocations: 170.5 kB / 0.6379 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.1756, allocations: 0.5726 MB / 0.6385 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009131/0.1766, allocations: 0.9643 MB / 0.6394 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/0.1771, allocations: 345.6 kB / 0.6398 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.1775, allocations: 382.3 kB / 0.6401 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.1778, allocations: 350.1 kB / 0.6405 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.178, allocations: 76 kB / 0.6405 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1781, allocations: 80 kB / 0.6406 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.1782, allocations: 179.3 kB / 0.6408 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.1785, allocations: 381.7 kB / 0.6411 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008239/0.1793, allocations: 0.8872 MB / 0.642 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1794, allocations: 7.938 kB / 0.642 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1794, allocations: 4 kB / 0.642 GB, free: 10.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.1794, allocations: 0 / 0.642 GB, free: 10.99 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00196/0.1814, allocations: 1.183 MB / 0.6432 GB, free: 9.746 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1814, allocations: 12.03 kB / 0.6432 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.1816, allocations: 95.75 kB / 0.6433 GB, free: 9.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009982/0.1826, allocations: 0.6143 MB / 0.6439 GB, free: 8.984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.1827, allocations: 105 kB / 0.644 GB, free: 8.867 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.028e-05/0.1828, allocations: 52.38 kB / 0.644 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.1839, allocations: 0.6003 MB / 0.6446 GB, free: 8.172 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.1839, allocations: 7.938 kB / 0.6446 GB, free: 8.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-05/0.1839, allocations: 20 kB / 0.6446 GB, free: 8.145 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.184, allocations: 12 kB / 0.6447 GB, free: 8.133 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008918/0.1849, allocations: 419.7 kB / 0.6451 GB, free: 7.723 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00263/0.1875, allocations: 2.106 MB / 0.6471 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1887, allocations: 0.4956 MB / 0.6476 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/0.1891, allocations: 218 kB / 0.6478 GB, free: 4.812 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.1891, allocations: 4 kB / 0.6478 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006219/0.1898, allocations: 291 kB / 0.6481 GB, free: 4.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 3.697e-06/0.1898, allocations: 4 kB / 0.6481 GB, free: 4.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.00146/0.1913, allocations: 0.6033 MB / 0.6487 GB, free: 3.898 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/0.1913, allocations: 92.86 kB / 0.6488 GB, free: 3.789 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006976/0.192, allocations: 0.6138 MB / 0.6494 GB, free: 3.168 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.1921, allocations: 33.7 kB / 0.6494 GB, free: 3.129 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.1924, allocations: 352.9 kB / 0.6497 GB, free: 2.777 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.1926, allocations: 157.8 kB / 0.6499 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.1927, allocations: 98.14 kB / 0.65 GB, free: 2.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1929, allocations: 322 kB / 0.6503 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.1934, allocations: 194.9 kB / 0.6505 GB, free: 2.004 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/0.1938, allocations: 276.2 kB / 0.6507 GB, free: 1.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000903/0.1948, allocations: 473.9 kB / 0.6512 GB, free: 1.195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1948, allocations: 4 kB / 0.6512 GB, free: 1.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001164/0.1959, allocations: 0.6062 MB / 0.6518 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.196, allocations: 29.7 kB / 0.6518 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.196, allocations: 4 kB / 0.6518 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.1961, allocations: 4 kB / 0.6518 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.1965, allocations: 103.9 kB / 0.6519 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.1966, allocations: 11.94 kB / 0.6519 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.1969, allocations: 59.5 kB / 0.652 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.197, allocations: 20 kB / 0.652 GB, free: 344 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005205/0.1975, allocations: 316.7 kB / 0.6523 GB, free: 28 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004296/0.1979, allocations: 268.3 kB / 0.6526 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007612/0.1987, allocations: 445.9 kB / 0.653 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.1987, allocations: 4 kB / 0.653 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009752/0.1997, allocations: 0.5825 MB / 0.6536 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.1997, allocations: 33.7 kB / 0.6536 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1998, allocations: 0 / 0.6536 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.1998, allocations: 8.312 kB / 0.6536 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.2002, allocations: 107.8 kB / 0.6537 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2002, allocations: 4 kB / 0.6537 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.2006, allocations: 59.55 kB / 0.6538 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.2006, allocations: 16 kB / 0.6538 GB, free: 14.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001776/0.2008, allocations: 220 kB / 0.654 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/0.2009, allocations: 67.16 kB / 0.6541 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.201, allocations: 87.2 kB / 0.6541 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.2011, allocations: 0 / 0.6541 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2011, allocations: 0 / 0.6541 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.2013, allocations: 192 kB / 0.6543 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.2013, allocations: 11.94 kB / 0.6543 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.2017, allocations: 35.95 kB / 0.6544 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/0.2018, allocations: 31.91 kB / 0.6544 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001298/0.2031, allocations: 0.5665 MB / 0.6549 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001435/0.2046, allocations: 0.8855 MB / 0.6558 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003995/0.205, allocations: 207.9 kB / 0.656 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004374/0.2054, allocations: 431.1 kB / 0.6564 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of Backend: time 9.52e-07/0.2055, allocations: 3.938 kB / 0.6564 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.207, allocations: 0.7137 MB / 0.6571 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002136/0.2091, allocations: 1.658 MB / 0.6587 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of Templates: time 0.01879/0.2279, allocations: 10.51 MB / 0.669 GB, free: 14.8 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)