Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.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.001328/0.001328, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001249/0.001249, allocations: 165 kB / 23.8 MB, free: 0.7734 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.116/1.116, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.5966/0.5966, allocations: 115 MB / 375.7 MB, free: 7.641 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.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 481.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.189e-05, allocations: 9.156 kB / 481.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002261/0.002283, allocations: 1.925 MB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.004302, allocations: 1.654 MB / 485.2 MB, free: 9.406 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.004544, allocations: 8.125 kB / 485.2 MB, free: 9.406 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.004758, allocations: 92.45 kB / 485.3 MB, free: 9.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.005058, allocations: 90.17 kB / 485.4 MB, free: 9.273 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.005576, allocations: 332.4 kB / 485.7 MB, free: 9.074 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005646/0.006141, allocations: 0.6976 MB / 486.4 MB, free: 8.711 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002915/0.006432, allocations: 217.2 kB / 486.6 MB, free: 8.598 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.006772, allocations: 409.3 kB / 487 MB, free: 8.375 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.006978, allocations: 202.5 kB / 487.2 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.954e-05/0.007078, allocations: 76.56 kB / 487.3 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.007211, allocations: 92.81 kB / 487.3 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.007292, allocations: 142.4 kB / 487.5 MB, free: 8.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.007444, allocations: 198 kB / 487.7 MB, free: 8.066 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004431/0.007887, allocations: 487.5 kB / 488.2 MB, free: 7.777 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.00789, allocations: 1.594 kB / 488.2 MB, free: 7.777 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.007891, allocations: 0.9062 kB / 488.2 MB, free: 7.777 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.007901, allocations: 0 / 488.2 MB, free: 7.777 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001129/0.00903, allocations: 1.127 MB / 489.3 MB, free: 6.969 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.009071, allocations: 10.31 kB / 489.3 MB, free: 6.969 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.009217, allocations: 105.8 kB / 489.4 MB, free: 6.922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.009607, allocations: 354.6 kB / 489.7 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.009651, allocations: 46.31 kB / 489.8 MB, free: 6.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.009719, allocations: 61.05 kB / 489.9 MB, free: 6.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.01021, allocations: 440.8 kB / 490.3 MB, free: 6.391 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.01022, allocations: 1.25 kB / 490.3 MB, free: 6.391 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.01025, allocations: 22.44 kB / 490.3 MB, free: 6.375 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.01027, allocations: 15.97 kB / 490.3 MB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.01055, allocations: 189.2 kB / 490.5 MB, free: 6.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.01202, allocations: 1.372 MB / 491.9 MB, free: 21.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.01241, allocations: 296.6 kB / 492.2 MB, free: 21.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.01257, allocations: 136.6 kB / 492.3 MB, free: 21.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.0126, allocations: 10.53 kB / 492.3 MB, free: 21.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.01281, allocations: 181.4 kB / 492.5 MB, free: 21.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 1.723e-06/0.01281, allocations: 3.938 kB / 492.5 MB, free: 21.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=47): time 0.0005238/0.01334, allocations: 363.8 kB / 492.8 MB, free: 21.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.01338, allocations: 115.4 kB / 493 MB, free: 20.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.01365, allocations: 377.3 kB / 493.3 MB, free: 20.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.01368, allocations: 38.8 kB / 493.4 MB, free: 20.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.0138, allocations: 300.4 kB / 493.7 MB, free: 20.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.748e-05/0.01387, allocations: 167 kB / 493.8 MB, free: 20.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.01398, allocations: 104 kB / 493.9 MB, free: 20.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.01411, allocations: 0.5246 MB / 494.4 MB, free: 19.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.0143, allocations: 135.4 kB / 494.6 MB, free: 19.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.01452, allocations: 362.4 kB / 494.9 MB, free: 19.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.01482, allocations: 307.4 kB / 495.2 MB, free: 19.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.01483, allocations: 3.328 kB / 495.2 MB, free: 19.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005266/0.01535, allocations: 469 kB / 495.7 MB, free: 18.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.01539, allocations: 40.94 kB / 495.7 MB, free: 18.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01539, allocations: 2.562 kB / 495.7 MB, free: 18.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.01541, allocations: 12.31 kB / 495.8 MB, free: 18.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.01564, allocations: 90.25 kB / 495.8 MB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/0.01565, allocations: 8.25 kB / 495.8 MB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.01582, allocations: 70.23 kB / 495.9 MB, free: 18.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.01585, allocations: 19.41 kB / 495.9 MB, free: 18.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004815/0.01633, allocations: 258.9 kB / 496.2 MB, free: 18.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002092/0.01654, allocations: 364 kB / 496.5 MB, free: 18.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002776/0.01682, allocations: 301.3 kB / 496.8 MB, free: 18.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/0.01682, allocations: 1.438 kB / 496.8 MB, free: 18.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.000495/0.01731, allocations: 466.9 kB / 497.3 MB, free: 17.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.01733, allocations: 40.58 kB / 497.3 MB, free: 17.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.01734, allocations: 1.594 kB / 497.3 MB, free: 17.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.01734, allocations: 8 kB / 497.3 MB, free: 17.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.01752, allocations: 90.84 kB / 497.4 MB, free: 17.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01753, allocations: 5.922 kB / 497.4 MB, free: 17.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.01767, allocations: 60.56 kB / 497.5 MB, free: 17.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.0177, allocations: 19.22 kB / 497.5 MB, free: 17.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.0001311/0.01783, allocations: 298.7 kB / 497.8 MB, free: 17.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.01788, allocations: 62.31 kB / 497.9 MB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.01826, allocations: 303.1 kB / 498.2 MB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.01826, allocations: 5 kB / 498.2 MB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.01827, allocations: 7.406 kB / 498.2 MB, free: 17.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01827, allocations: 0.75 kB / 498.2 MB, free: 17.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008397/0.01911, allocations: 0.9005 MB / 499.1 MB, free: 16.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01911, allocations: 1.656 kB / 499.1 MB, free: 16.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.01931, allocations: 78.61 kB / 499.2 MB, free: 16.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.01932, allocations: 6.312 kB / 499.2 MB, free: 16.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.01934, allocations: 12.31 kB / 499.2 MB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.01934, allocations: 7.312 kB / 499.2 MB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.01935, allocations: 6.234 kB / 499.2 MB, free: 16.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005291/0.01987, allocations: 0.5838 MB / 499.8 MB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.01992, allocations: 48.55 kB / 499.8 MB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.01995, allocations: 11.67 kB / 499.8 MB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.98e-05/0.02005, allocations: 23.97 kB / 499.9 MB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.0201, allocations: 30.22 kB / 499.9 MB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.02012, allocations: 23.09 kB / 499.9 MB, free: 16.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.02028, allocations: 254.4 kB / 0.4884 GB, free: 16.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02028, allocations: 0 / 0.4884 GB, free: 16.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004318/0.02072, allocations: 211 kB / 0.4886 GB, free: 16.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * 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.0001317/0.02085, allocations: 125.4 kB / 0.4888 GB, free: 16.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006834/0.02153, allocations: 0.6355 MB / 0.4894 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.02153, allocations: 4 kB / 0.4894 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.02168, allocations: 137.8 kB / 0.4895 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.02206, allocations: 102.1 kB / 0.4896 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00088/0.02294, allocations: 0.8604 MB / 0.4904 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.493e-05/0.02302, allocations: 126.1 kB / 0.4906 GB, free: 15.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.02316, allocations: 47.38 kB / 0.4906 GB, free: 15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.02324, allocations: 45.61 kB / 0.4907 GB, free: 14.99 MB / 426.7 MB Notification: Performance of SimCode: time 6.52e-07/0.02324, allocations: 0 / 0.4907 GB, free: 14.99 MB / 426.7 MB Notification: Performance of Templates: time 0.01003/0.03327, allocations: 6.554 MB / 0.4971 GB, free: 12.01 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7489593368954957]