Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.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.00134/0.00134, allocations: 71.77 kB / 20.51 MB, free: 1.125 MB / 14.72 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.001533/0.001533, allocations: 166.9 kB / 23.76 MB, free: 4.199 MB / 14.72 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.41/1.41, allocations: 177.2 MB / 204.1 MB, free: 8.902 MB / 190.1 MB " [Timeout remaining time 178] 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.9248/0.9248, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.1 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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 66.66 kB / 0.555 GB, free: 2.758 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.171, allocations: 89.14 MB / 0.6421 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.006175/0.1772, allocations: 3.852 MB / 0.6458 GB, free: 5.703 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003406/0.1806, allocations: 1.609 MB / 0.6474 GB, free: 4.086 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004945/0.1811, allocations: 43.69 kB / 0.6474 GB, free: 4.043 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.1815, allocations: 166.2 kB / 0.6476 GB, free: 3.879 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008165/0.1823, allocations: 250.1 kB / 0.6478 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.1839, allocations: 0.677 MB / 0.6485 GB, free: 2.965 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.1853, allocations: 1.226 MB / 0.6497 GB, free: 1.734 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005668/0.1858, allocations: 328.8 kB / 0.65 GB, free: 1.387 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006439/0.1865, allocations: 493.8 kB / 0.6505 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005528/0.187, allocations: 417.5 kB / 0.6509 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.1872, allocations: 104 kB / 0.651 GB, free: 400 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.1874, allocations: 112 kB / 0.6511 GB, free: 288 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.1876, allocations: 239 kB / 0.6513 GB, free: 48 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.188, allocations: 389.8 kB / 0.6517 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.1893, allocations: 1.186 MB / 0.6528 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1893, allocations: 0 / 0.6528 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1893, allocations: 0 / 0.6528 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.1893, allocations: 4 kB / 0.6528 GB, free: 14.46 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002607/0.1919, allocations: 1.477 MB / 0.6543 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1919, allocations: 12.03 kB / 0.6543 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/0.1922, allocations: 132.1 kB / 0.6544 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.1936, allocations: 0.6952 MB / 0.6551 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.1938, allocations: 110 kB / 0.6552 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.1939, allocations: 76.33 kB / 0.6553 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.1953, allocations: 0.896 MB / 0.6562 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1953, allocations: 0 / 0.6562 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.1954, allocations: 28 kB / 0.6562 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.1955, allocations: 20 kB / 0.6562 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.1967, allocations: 0.5204 MB / 0.6567 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00335/0.2, allocations: 1.898 MB / 0.6586 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.2015, allocations: 0.5887 MB / 0.6591 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/0.2021, allocations: 258.2 kB / 0.6594 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.193e-05/0.2021, allocations: 24.36 kB / 0.6594 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000714/0.2028, allocations: 343.9 kB / 0.6597 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.034e-06/0.2028, allocations: 0 / 0.6597 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60): time 0.001748/0.2046, allocations: 0.7583 MB / 0.6605 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.218e-05/0.2046, allocations: 111.3 kB / 0.6606 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008664/0.2055, allocations: 0.6965 MB / 0.6613 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.2056, allocations: 41.64 kB / 0.6613 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.206, allocations: 456.8 kB / 0.6617 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.2061, allocations: 214.1 kB / 0.6619 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.2063, allocations: 114.3 kB / 0.662 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2065, allocations: 329.9 kB / 0.6624 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/0.207, allocations: 207.4 kB / 0.6626 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/0.2076, allocations: 368.8 kB / 0.6629 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.2087, allocations: 0.5087 MB / 0.6634 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2087, allocations: 4 kB / 0.6634 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001357/0.2101, allocations: 0.6568 MB / 0.6641 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.2101, allocations: 11.94 kB / 0.6641 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2101, allocations: 0 / 0.6641 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.2101, allocations: 8 kB / 0.6641 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008324/0.211, allocations: 147.8 kB / 0.6642 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.211, allocations: 4 kB / 0.6642 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.2114, allocations: 75.53 kB / 0.6643 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.2115, allocations: 28.05 kB / 0.6643 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006692/0.2122, allocations: 353.4 kB / 0.6647 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005699/0.2127, allocations: 356.8 kB / 0.665 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009807/0.2137, allocations: 492.9 kB / 0.6655 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.2137, allocations: 0 / 0.6655 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001246/0.215, allocations: 0.6372 MB / 0.6661 GB, free: 440 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.215, allocations: 11.94 kB / 0.6661 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.215, allocations: 0 / 0.6661 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.215, allocations: 8 kB / 0.6661 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/0.2158, allocations: 140 kB / 0.6662 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.2158, allocations: 11.98 kB / 0.6662 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.2162, allocations: 59.7 kB / 0.6663 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.2163, allocations: 23.94 kB / 0.6663 GB, free: 184 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.000214/0.2165, allocations: 224.1 kB / 0.6665 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.2166, allocations: 95.39 kB / 0.6666 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.2168, allocations: 92.55 kB / 0.6667 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.2168, allocations: 12 kB / 0.6667 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2168, allocations: 0 / 0.6667 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.2168, allocations: 7.922 kB / 0.6667 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.219, allocations: 1.219 MB / 0.6679 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.219, allocations: 4 kB / 0.6679 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/0.2196, allocations: 107.8 kB / 0.668 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.2196, allocations: 4 kB / 0.668 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/0.2197, allocations: 19.92 kB / 0.6681 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2197, allocations: 0 / 0.6681 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2197, allocations: 0 / 0.6681 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.2216, allocations: 0.9666 MB / 0.669 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/0.2219, allocations: 147.2 kB / 0.6691 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.706e-05/0.222, allocations: 19.92 kB / 0.6692 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/0.2225, allocations: 31.97 kB / 0.6692 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2226, allocations: 40.36 kB / 0.6692 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.2226, allocations: 23.98 kB / 0.6693 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006443/0.2233, allocations: 487 kB / 0.6697 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2233, allocations: 0 / 0.6697 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007618/0.224, allocations: 295.1 kB / 0.67 GB, free: 12.36 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001572/0.2242, allocations: 118.2 kB / 0.6701 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.2259, allocations: 0.7604 MB / 0.6709 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2259, allocations: 1 kB / 0.6709 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005615/0.2265, allocations: 266.6 kB / 0.6711 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.2277, allocations: 251.3 kB / 0.6714 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.2305, allocations: 1.561 MB / 0.6729 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.2309, allocations: 409.7 kB / 0.6733 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004856/0.2314, allocations: 114.2 kB / 0.6734 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.2316, allocations: 64.44 kB / 0.6734 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.2316, allocations: 0 / 0.6734 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of Templates: time 0.01955/0.2511, allocations: 9.886 MB / 0.6831 GB, free: 15.11 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.837626219028607] Failed to read output from testmodel.py, exit status != 0: 0.2600302610080689 0.27493648200000004 0.08248041 Calling exit ...