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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 101.8 kB / 18.9 MB, free: 3.168 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 192.4 kB / 22.06 MB, free: 16 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 250.7 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8251/0.8251, allocations: 128.4 MB / 434.1 MB, free: 6.234 MB / 334.1 MB [Timeout remaining time 89] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 0.6012 GB, free: 21.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1926, allocations: 83.25 MB / 0.6825 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.005542/0.1981, allocations: 3.716 MB / 0.6861 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003279/0.2014, allocations: 1.348 MB / 0.6875 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006271/0.2021, allocations: 27.88 kB / 0.6875 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.2025, allocations: 126.6 kB / 0.6876 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00066/0.2031, allocations: 178.6 kB / 0.6878 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.2045, allocations: 0.5935 MB / 0.6884 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.2058, allocations: 0.9642 MB / 0.6893 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000508/0.2063, allocations: 257.5 kB / 0.6895 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005373/0.2069, allocations: 370.5 kB / 0.6899 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.2073, allocations: 354 kB / 0.6902 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.2074, allocations: 80 kB / 0.6903 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.2075, allocations: 76 kB / 0.6904 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.2077, allocations: 187.2 kB / 0.6906 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003531/0.2081, allocations: 385.7 kB / 0.6909 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.2091, allocations: 0.8905 MB / 0.6918 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2091, allocations: 0 / 0.6918 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2091, allocations: 0 / 0.6918 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.2092, allocations: 0 / 0.6918 GB, free: 9.289 MB / 0.5137 GB 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.002208/0.2114, allocations: 1.21 MB / 0.693 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2114, allocations: 12.03 kB / 0.693 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.2116, allocations: 96.33 kB / 0.6931 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.2127, allocations: 0.6228 MB / 0.6937 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.2128, allocations: 100.9 kB / 0.6938 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-05/0.2129, allocations: 48.38 kB / 0.6938 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.2141, allocations: 0.6042 MB / 0.6944 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2141, allocations: 4 kB / 0.6944 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.2141, allocations: 20 kB / 0.6945 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.2142, allocations: 12 kB / 0.6945 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009969/0.2152, allocations: 427.6 kB / 0.6949 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.2182, allocations: 2.106 MB / 0.6969 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.2194, allocations: 483 kB / 0.6974 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.2199, allocations: 212.7 kB / 0.6976 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.22, allocations: 7.953 kB / 0.6976 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006621/0.2206, allocations: 286.1 kB / 0.6979 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.585e-06/0.2206, allocations: 0 / 0.6979 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001541/0.2222, allocations: 0.6064 MB / 0.6985 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/0.2222, allocations: 92.86 kB / 0.6986 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000828/0.2231, allocations: 0.6138 MB / 0.6992 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.2231, allocations: 37.7 kB / 0.6992 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/0.2234, allocations: 353.3 kB / 0.6995 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.2236, allocations: 170.6 kB / 0.6997 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.2238, allocations: 98.14 kB / 0.6998 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2239, allocations: 326 kB / 0.7001 GB, free: 480 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.2244, allocations: 183 kB / 0.7003 GB, free: 296 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005588/0.225, allocations: 280.3 kB / 0.7005 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009547/0.2259, allocations: 473.9 kB / 0.701 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2259, allocations: 3.938 kB / 0.701 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001274/0.2272, allocations: 0.6027 MB / 0.7016 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.2272, allocations: 33.69 kB / 0.7016 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.2272, allocations: 4 kB / 0.7016 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.2273, allocations: 4 kB / 0.7016 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.2278, allocations: 107.8 kB / 0.7017 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.2278, allocations: 9.094 kB / 0.7017 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.2282, allocations: 63.59 kB / 0.7018 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.2282, allocations: 24.16 kB / 0.7018 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006234/0.2289, allocations: 305.2 kB / 0.7021 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005058/0.2294, allocations: 264.2 kB / 0.7024 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008839/0.2302, allocations: 461.8 kB / 0.7028 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-06/0.2303, allocations: 4 kB / 0.7028 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001184/0.2314, allocations: 0.5868 MB / 0.7034 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.2315, allocations: 40.34 kB / 0.7034 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2315, allocations: 320 / 0.7034 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2315, allocations: 12 kB / 0.7034 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.2319, allocations: 99.83 kB / 0.7035 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.232, allocations: 7.984 kB / 0.7035 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.2323, allocations: 51.72 kB / 0.7036 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.2324, allocations: 16 kB / 0.7036 GB, free: 12.69 MB / 0.5294 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.0002593/0.2326, allocations: 220 kB / 0.7038 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.2327, allocations: 79.53 kB / 0.7039 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.2329, allocations: 79.22 kB / 0.704 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2329, allocations: 4 kB / 0.704 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.233, allocations: 0 / 0.704 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.233, allocations: 3.984 kB / 0.704 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007991/0.2338, allocations: 0.618 MB / 0.7046 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2338, allocations: 3.938 kB / 0.7046 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.2342, allocations: 87.88 kB / 0.7047 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2342, allocations: 0 / 0.7047 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.2343, allocations: 16 kB / 0.7047 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2343, allocations: 4 kB / 0.7047 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2343, allocations: 4 kB / 0.7047 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.2358, allocations: 0.7329 MB / 0.7054 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.2361, allocations: 200.4 kB / 0.7056 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.2362, allocations: 12 kB / 0.7056 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/0.2365, allocations: 35.95 kB / 0.7056 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.2367, allocations: 31.95 kB / 0.7057 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.2367, allocations: 19.98 kB / 0.7057 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005463/0.2372, allocations: 427.1 kB / 0.7061 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2372, allocations: 0 / 0.7061 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006401/0.2379, allocations: 219.5 kB / 0.7063 GB, free: 9.832 MB / 0.5294 GB 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.0001733/0.2381, allocations: 111.2 kB / 0.7064 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.2397, allocations: 0.7464 MB / 0.7071 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2397, allocations: 0 / 0.7071 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004795/0.2401, allocations: 203.9 kB / 0.7073 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008912/0.241, allocations: 211.6 kB / 0.7075 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.2434, allocations: 1.22 MB / 0.7087 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.244, allocations: 0.918 MB / 0.7096 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.2442, allocations: 51.42 kB / 0.7097 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of SimCode: time 1.243e-06/0.2442, allocations: 0 / 0.7097 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of Templates: time 0.01476/0.259, allocations: 8.725 MB / 0.7182 GB, free: 13.61 MB / 0.545 GB [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 480]