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.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.001115/0.001115, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.001105/0.001105, allocations: 165 kB / 23.8 MB, free: 0.7695 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.017/1.017, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6281/0.6281, allocations: 115 MB / 375.7 MB, free: 7.602 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0.875 kB / 481.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.423e-05, allocations: 4.703 kB / 481.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.00337/0.003395, allocations: 3.507 MB / 485 MB, free: 9.676 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.005403, allocations: 1.356 MB / 486.3 MB, free: 8.719 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.005727, allocations: 35 kB / 486.4 MB, free: 8.703 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.005981, allocations: 128.8 kB / 486.5 MB, free: 8.605 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.006382, allocations: 190.6 kB / 486.7 MB, free: 8.473 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007459/0.007127, allocations: 0.5676 MB / 487.2 MB, free: 8.156 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007141/0.007842, allocations: 0.9724 MB / 488.2 MB, free: 7.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.008166, allocations: 227.4 kB / 488.4 MB, free: 7.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000537/0.008703, allocations: 0.5159 MB / 489 MB, free: 7.258 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.009015, allocations: 252.6 kB / 489.2 MB, free: 7.152 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.009134, allocations: 76.28 kB / 489.3 MB, free: 7.152 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.485e-05/0.009229, allocations: 79.94 kB / 489.4 MB, free: 7.152 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.009336, allocations: 187.1 kB / 489.5 MB, free: 7.023 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.009519, allocations: 228.4 kB / 489.8 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006387/0.01016, allocations: 0.5808 MB / 490.3 MB, free: 6.555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.01016, allocations: 0 / 490.3 MB, free: 6.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.01016, allocations: 0 / 490.3 MB, free: 6.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.01018, allocations: 5.109 kB / 490.3 MB, free: 6.555 MB / 410.7 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.001327/0.0115, allocations: 1.191 MB / 491.5 MB, free: 5.695 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.01154, allocations: 11.34 kB / 491.6 MB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.01172, allocations: 137.5 kB / 491.7 MB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006298/0.01235, allocations: 0.5851 MB / 492.3 MB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-05/0.01243, allocations: 148.2 kB / 492.4 MB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.0125, allocations: 61.52 kB / 492.5 MB, free: 5.094 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.01314, allocations: 0.6556 MB / 493.1 MB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.01315, allocations: 192 / 493.1 MB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.01319, allocations: 26.69 kB / 493.2 MB, free: 4.609 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.01321, allocations: 12.88 kB / 493.2 MB, free: 4.609 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.01354, allocations: 203.2 kB / 493.4 MB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.01534, allocations: 2.191 MB / 495.6 MB, free: 18.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.01582, allocations: 269.3 kB / 495.8 MB, free: 18.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.01599, allocations: 107.6 kB / 495.9 MB, free: 18.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.01602, allocations: 7.312 kB / 495.9 MB, free: 18.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.0163, allocations: 232.9 kB / 496.2 MB, free: 18.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 2.655e-06/0.0163, allocations: 0 / 496.2 MB, free: 18.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.0006135/0.01691, allocations: 381.6 kB / 496.5 MB, free: 18.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.01695, allocations: 119.2 kB / 496.7 MB, free: 18.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004461/0.0174, allocations: 0.5781 MB / 497.2 MB, free: 18.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.01743, allocations: 40.39 kB / 497.3 MB, free: 17.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.01762, allocations: 412.7 kB / 497.7 MB, free: 17.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.631e-05/0.0177, allocations: 162.3 kB / 497.8 MB, free: 17.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.01781, allocations: 99.81 kB / 497.9 MB, free: 17.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.01797, allocations: 0.5499 MB / 498.5 MB, free: 16.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.01813, allocations: 107.2 kB / 498.6 MB, free: 16.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.01833, allocations: 297.1 kB / 498.9 MB, free: 16.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.01867, allocations: 322.4 kB / 499.2 MB, free: 16.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.01868, allocations: 4.5 kB / 499.2 MB, free: 16.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005481/0.01923, allocations: 471.8 kB / 499.7 MB, free: 16.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.01926, allocations: 38.89 kB / 499.7 MB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.01927, allocations: 2.875 kB / 499.7 MB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.01929, allocations: 5.688 kB / 499.7 MB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.01957, allocations: 101.1 kB / 499.8 MB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.01958, allocations: 20.48 kB / 499.8 MB, free: 16.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.01977, allocations: 52.06 kB / 499.9 MB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.0198, allocations: 17.84 kB / 499.9 MB, free: 16.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002263/0.02002, allocations: 236.6 kB / 0.4884 GB, free: 15.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001991/0.02022, allocations: 294.6 kB / 0.4887 GB, free: 15.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003185/0.02054, allocations: 317.3 kB / 0.489 GB, free: 15.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.02054, allocations: 1.062 kB / 0.489 GB, free: 15.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0005149/0.02106, allocations: 463.3 kB / 0.4894 GB, free: 15.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.02108, allocations: 36.12 kB / 0.4895 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.02108, allocations: 2.125 kB / 0.4895 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.513e-06/0.02109, allocations: 10.81 kB / 0.4895 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.02133, allocations: 98.91 kB / 0.4896 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.02133, allocations: 9.625 kB / 0.4896 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.02151, allocations: 54.03 kB / 0.4896 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.02153, allocations: 25.92 kB / 0.4896 GB, free: 15.08 MB / 426.7 MB 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.0001533/0.02168, allocations: 298.4 kB / 0.4899 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.664e-05/0.02177, allocations: 88.44 kB / 0.49 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.02185, allocations: 79 kB / 0.4901 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.02185, allocations: 4.406 kB / 0.4901 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.02186, allocations: 1.469 kB / 0.4901 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.02187, allocations: 4.938 kB / 0.4901 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.02226, allocations: 422.6 kB / 0.4905 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.02227, allocations: 2.062 kB / 0.4905 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.02251, allocations: 75.72 kB / 0.4906 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.02252, allocations: 3.656 kB / 0.4906 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.02254, allocations: 14 kB / 0.4906 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.02254, allocations: 5.062 kB / 0.4906 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.02254, allocations: 2 kB / 0.4906 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.02314, allocations: 453.8 kB / 0.491 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.02328, allocations: 117 kB / 0.4911 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.02333, allocations: 14.25 kB / 0.4912 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.02351, allocations: 30.95 kB / 0.4912 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.02358, allocations: 30.88 kB / 0.4912 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.0236, allocations: 17.41 kB / 0.4912 GB, free: 14.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002883/0.02389, allocations: 390 kB / 0.4916 GB, free: 13.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02389, allocations: 0 / 0.4916 GB, free: 13.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004464/0.02433, allocations: 228.8 kB / 0.4918 GB, free: 13.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001289/0.02446, allocations: 109.1 kB / 0.4919 GB, free: 13.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006833/0.02515, allocations: 0.5776 MB / 0.4925 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02515, allocations: 1.25 kB / 0.4925 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.02534, allocations: 130.2 kB / 0.4926 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.02592, allocations: 217.9 kB / 0.4928 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.02745, allocations: 1.093 MB / 0.4939 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.02756, allocations: 140.9 kB / 0.494 GB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002817/0.02784, allocations: 90.66 kB / 0.4941 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.02796, allocations: 46.44 kB / 0.4942 GB, free: 12.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.392e-06/0.02796, allocations: 1.125 kB / 0.4942 GB, free: 12.63 MB / 426.7 MB Notification: Performance of Templates: time 0.01281/0.04077, allocations: 8.53 MB / 0.5025 GB, free: 6.453 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6256984970532358]