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.0008931/0.0008931, allocations: 81.86 kB / 21.44 MB, free: 3.047 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.000979/0.000979, allocations: 167.2 kB / 24.84 MB, free: 9.207 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 0.9718/0.9718, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.5896/0.5896, allocations: 115 MB / 376.8 MB, free: 7.484 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.132e-06/1.132e-06, allocations: 0 / 482.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.658e-06/1.079e-05, allocations: 2.312 kB / 482.7 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.003081/0.003092, allocations: 3.424 MB / 486.1 MB, free: 9.484 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.004928, allocations: 1.347 MB / 487.5 MB, free: 8.535 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.005234, allocations: 35.44 kB / 487.5 MB, free: 8.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.005474, allocations: 132.4 kB / 487.6 MB, free: 8.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.005833, allocations: 197.6 kB / 487.8 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000691/0.006524, allocations: 0.5687 MB / 488.4 MB, free: 7.961 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007437/0.007268, allocations: 0.9649 MB / 489.4 MB, free: 7.469 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.0076, allocations: 230.1 kB / 489.6 MB, free: 7.324 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005006/0.0081, allocations: 0.515 MB / 490.1 MB, free: 7.066 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.008351, allocations: 260.2 kB / 490.4 MB, free: 6.957 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.008459, allocations: 77.75 kB / 490.4 MB, free: 6.957 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-05/0.008538, allocations: 78.94 kB / 490.5 MB, free: 6.957 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.008626, allocations: 180.2 kB / 490.7 MB, free: 6.832 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.008768, allocations: 232.4 kB / 490.9 MB, free: 6.699 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.009205, allocations: 0.5821 MB / 491.5 MB, free: 6.359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.009207, allocations: 1.062 kB / 491.5 MB, free: 6.359 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.009208, allocations: 0.625 kB / 491.5 MB, free: 6.359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.009219, allocations: 0 / 491.5 MB, free: 6.359 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.00115/0.01037, allocations: 1.198 MB / 492.7 MB, free: 5.496 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.0104, allocations: 8.781 kB / 492.7 MB, free: 5.496 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.01056, allocations: 139.2 kB / 492.8 MB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/0.01112, allocations: 0.5828 MB / 493.4 MB, free: 5.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.075e-05/0.01119, allocations: 153.3 kB / 493.6 MB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.01126, allocations: 54.22 kB / 493.6 MB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.01177, allocations: 0.6292 MB / 494.3 MB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.01179, allocations: 5.094 kB / 494.3 MB, free: 4.434 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.01182, allocations: 25.56 kB / 494.3 MB, free: 4.414 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.01183, allocations: 13.38 kB / 494.3 MB, free: 4.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.01206, allocations: 165.1 kB / 494.5 MB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.01365, allocations: 2.086 MB / 496.6 MB, free: 18.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.01401, allocations: 255.1 kB / 496.8 MB, free: 18.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.01412, allocations: 90.77 kB / 496.9 MB, free: 18.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.01415, allocations: 10.12 kB / 496.9 MB, free: 18.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.01436, allocations: 220.6 kB / 497.1 MB, free: 18.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 1.803e-06/0.01436, allocations: 1.031 kB / 497.1 MB, free: 18.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.0004603/0.01483, allocations: 338.6 kB / 497.4 MB, free: 18.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.01486, allocations: 116.6 kB / 497.6 MB, free: 18.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003789/0.01524, allocations: 0.5668 MB / 498.1 MB, free: 17.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.01527, allocations: 37.2 kB / 498.2 MB, free: 17.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.01544, allocations: 415 kB / 498.6 MB, free: 17.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.01552, allocations: 167.4 kB / 498.7 MB, free: 17.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-05/0.01562, allocations: 103.8 kB / 498.8 MB, free: 17.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.01577, allocations: 0.5546 MB / 499.4 MB, free: 16.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.01588, allocations: 90.14 kB / 499.5 MB, free: 16.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.01603, allocations: 278.2 kB / 499.7 MB, free: 16.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.01629, allocations: 298.1 kB / 0.4883 GB, free: 16.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.0163, allocations: 2.469 kB / 0.4883 GB, free: 16.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004468/0.01674, allocations: 440.5 kB / 0.4887 GB, free: 16.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.01677, allocations: 33.42 kB / 0.4888 GB, free: 16.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.01678, allocations: 3.656 kB / 0.4888 GB, free: 16.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.01679, allocations: 9.375 kB / 0.4888 GB, free: 16.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.01706, allocations: 103.6 kB / 0.4889 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.01707, allocations: 9.5 kB / 0.4889 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.01725, allocations: 50.03 kB / 0.4889 GB, free: 16.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.01728, allocations: 15.62 kB / 0.489 GB, free: 16.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001773/0.01745, allocations: 221.3 kB / 0.4892 GB, free: 15.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001487/0.0176, allocations: 283 kB / 0.4894 GB, free: 15.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002191/0.01782, allocations: 285.6 kB / 0.4897 GB, free: 15.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.01782, allocations: 3.094 kB / 0.4897 GB, free: 15.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0004155/0.01824, allocations: 435.8 kB / 0.4901 GB, free: 15.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.01826, allocations: 35.59 kB / 0.4902 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.01826, allocations: 2.312 kB / 0.4902 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/0.01826, allocations: 7.094 kB / 0.4902 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.0185, allocations: 101.6 kB / 0.4903 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.0185, allocations: 9.25 kB / 0.4903 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.01867, allocations: 53.31 kB / 0.4903 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.01869, allocations: 19.62 kB / 0.4903 GB, free: 15.07 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 (limPID.I.trigger_internal,limPIDRev.I.trigger_internal,limPIDOri.I.local_reset,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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.0001293/0.01882, allocations: 301 kB / 0.4906 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.0189, allocations: 85.81 kB / 0.4907 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.008e-05/0.01897, allocations: 75.91 kB / 0.4908 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.01897, allocations: 8.406 kB / 0.4908 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01898, allocations: 1.094 kB / 0.4908 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.01898, allocations: 3.094 kB / 0.4908 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.01931, allocations: 344.9 kB / 0.4911 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01931, allocations: 0 / 0.4911 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.01953, allocations: 78.91 kB / 0.4912 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01953, allocations: 4.156 kB / 0.4912 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.01955, allocations: 6.719 kB / 0.4912 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01955, allocations: 1.281 kB / 0.4912 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01955, allocations: 1.25 kB / 0.4912 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.02002, allocations: 417.3 kB / 0.4916 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.02016, allocations: 117.2 kB / 0.4917 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.02021, allocations: 19.62 kB / 0.4917 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.02038, allocations: 25.55 kB / 0.4918 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.02043, allocations: 31.81 kB / 0.4918 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.02045, allocations: 15.17 kB / 0.4918 GB, free: 14.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00023/0.02068, allocations: 363.2 kB / 0.4922 GB, free: 13.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02068, allocations: 0 / 0.4922 GB, free: 13.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004198/0.0211, allocations: 228.2 kB / 0.4924 GB, free: 13.93 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.0001002/0.0212, allocations: 111.2 kB / 0.4925 GB, free: 13.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005147/0.02172, allocations: 0.5304 MB / 0.493 GB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02172, allocations: 4.094 kB / 0.493 GB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.02186, allocations: 118.5 kB / 0.4931 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.02239, allocations: 227.2 kB / 0.4933 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.0237, allocations: 1.078 MB / 0.4944 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.02381, allocations: 140.5 kB / 0.4945 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002635/0.02407, allocations: 90.86 kB / 0.4946 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.02449, allocations: 255.9 kB / 0.4949 GB, free: 12.66 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0245, allocations: 1.281 kB / 0.4949 GB, free: 12.66 MB / 426.7 MB Notification: Performance of Templates: time 0.01179/0.03628, allocations: 8.905 MB / 0.5036 GB, free: 6.336 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.550815084017813]