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.001841/0.001841, allocations: 93.47 kB / 20.21 MB, free: 4.207 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.002028/0.002028, allocations: 165.2 kB / 23.53 MB, free: 0.8906 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.563/1.563, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 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 1.072/1.072, allocations: 115 MB / 375.3 MB, free: 7.59 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 2.023e-06/2.023e-06, allocations: 0 / 480.9 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.382e-05, allocations: 2.312 kB / 480.9 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.004219/0.004242, allocations: 1.882 MB / 482.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.007116, allocations: 1.636 MB / 484.4 MB, free: 9.488 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002972/0.007413, allocations: 11.62 kB / 484.4 MB, free: 9.484 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.007718, allocations: 88.47 kB / 484.5 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.008158, allocations: 98.25 kB / 484.6 MB, free: 9.348 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000792/0.00895, allocations: 316.7 kB / 484.9 MB, free: 9.164 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007954/0.009745, allocations: 0.6968 MB / 485.6 MB, free: 8.797 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004861/0.01023, allocations: 217.5 kB / 485.8 MB, free: 8.676 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005094/0.01074, allocations: 406.7 kB / 486.2 MB, free: 8.453 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.01108, allocations: 208 kB / 486.4 MB, free: 8.367 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.01123, allocations: 76.72 kB / 486.5 MB, free: 8.367 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.01142, allocations: 86.78 kB / 486.5 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.01154, allocations: 146.4 kB / 486.7 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.01177, allocations: 207.8 kB / 486.9 MB, free: 8.141 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000943/0.01271, allocations: 0.8669 MB / 487.8 MB, free: 7.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.01271, allocations: 1.906 kB / 487.8 MB, free: 7.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01271, allocations: 0 / 487.8 MB, free: 7.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.01272, allocations: 1.281 kB / 487.8 MB, free: 7.785 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.002274/0.015, allocations: 1.27 MB / 489 MB, free: 6.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.01504, allocations: 11.12 kB / 489 MB, free: 6.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.01528, allocations: 114 kB / 489.2 MB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.01599, allocations: 356 kB / 489.5 MB, free: 6.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.922e-05/0.01605, allocations: 49.84 kB / 489.6 MB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.01617, allocations: 67.69 kB / 489.6 MB, free: 6.543 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.01734, allocations: 0.5579 MB / 490.2 MB, free: 6.254 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.01737, allocations: 192 / 490.2 MB, free: 6.254 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/0.01742, allocations: 22.12 kB / 490.2 MB, free: 6.238 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.01744, allocations: 13.03 kB / 490.2 MB, free: 6.238 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000968/0.01841, allocations: 329.9 kB / 490.5 MB, free: 6.129 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/0.0217, allocations: 1.596 MB / 492.1 MB, free: 21.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.02276, allocations: 398.1 kB / 492.5 MB, free: 20.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/0.0233, allocations: 220.6 kB / 492.7 MB, free: 20.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.344e-05/0.02335, allocations: 15.66 kB / 492.7 MB, free: 20.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006071/0.02396, allocations: 246.3 kB / 493 MB, free: 20.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 2.805e-06/0.02396, allocations: 0 / 493 MB, free: 20.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=47): time 0.001512/0.02548, allocations: 0.5137 MB / 493.5 MB, free: 20.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.02554, allocations: 116.8 kB / 493.6 MB, free: 20.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/0.02622, allocations: 462.7 kB / 494.1 MB, free: 20.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.02627, allocations: 35.17 kB / 494.1 MB, free: 20.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.02656, allocations: 331.7 kB / 494.4 MB, free: 19.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.0267, allocations: 176.8 kB / 494.6 MB, free: 19.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.02697, allocations: 124.8 kB / 494.7 MB, free: 19.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004311/0.0274, allocations: 0.5485 MB / 495.3 MB, free: 19.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/0.02802, allocations: 216.1 kB / 495.5 MB, free: 19.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007195/0.02874, allocations: 461.5 kB / 495.9 MB, free: 18.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.02976, allocations: 461 kB / 496.4 MB, free: 18.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.02976, allocations: 5.344 kB / 496.4 MB, free: 18.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001598/0.03136, allocations: 0.6178 MB / 497 MB, free: 18.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.0314, allocations: 37.23 kB / 497 MB, free: 18.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.03142, allocations: 2.188 kB / 497 MB, free: 18.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.03144, allocations: 6.594 kB / 497 MB, free: 18.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.03206, allocations: 87.48 kB / 497.1 MB, free: 18.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.03208, allocations: 11.28 kB / 497.1 MB, free: 18.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/0.03262, allocations: 70.41 kB / 497.2 MB, free: 18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.03269, allocations: 22.72 kB / 497.2 MB, free: 18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007285/0.03342, allocations: 365.9 kB / 497.6 MB, free: 17.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007438/0.03416, allocations: 438.5 kB / 498 MB, free: 17.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009594/0.03512, allocations: 436.1 kB / 498.4 MB, free: 17.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.03513, allocations: 3.984 kB / 498.5 MB, free: 17.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001468/0.0366, allocations: 0.5803 MB / 499 MB, free: 16.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.03664, allocations: 42.3 kB / 499.1 MB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.03665, allocations: 2.344 kB / 499.1 MB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/0.03665, allocations: 4.25 kB / 499.1 MB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.03716, allocations: 84.95 kB / 499.2 MB, free: 16.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.03717, allocations: 8.438 kB / 499.2 MB, free: 16.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/0.03766, allocations: 61.36 kB / 499.2 MB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.03772, allocations: 21.12 kB / 499.3 MB, free: 16.75 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.0003225/0.03804, allocations: 292.5 kB / 499.5 MB, free: 16.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.03816, allocations: 60.34 kB / 499.6 MB, free: 16.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.03923, allocations: 417 kB / 0.4883 GB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.03924, allocations: 5.125 kB / 0.4883 GB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.03925, allocations: 4.938 kB / 0.4883 GB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.03926, allocations: 3.188 kB / 0.4883 GB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.04146, allocations: 1.126 MB / 0.4894 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.04146, allocations: 1.25 kB / 0.4894 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.04183, allocations: 81.17 kB / 0.4895 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.04184, allocations: 3.344 kB / 0.4895 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.04187, allocations: 17.3 kB / 0.4895 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.04187, allocations: 3.406 kB / 0.4895 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.04188, allocations: 6.344 kB / 0.4895 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.0429, allocations: 0.7872 MB / 0.4903 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.04296, allocations: 48.58 kB / 0.4903 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.04301, allocations: 12.56 kB / 0.4903 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.04322, allocations: 21.06 kB / 0.4904 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.04328, allocations: 32.38 kB / 0.4904 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.04331, allocations: 15.09 kB / 0.4904 GB, free: 15.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003364/0.04365, allocations: 303.6 kB / 0.4907 GB, free: 14.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04365, allocations: 1.406 kB / 0.4907 GB, free: 14.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007714/0.04442, allocations: 215.8 kB / 0.4909 GB, free: 14.77 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.0002941/0.04471, allocations: 123.2 kB / 0.491 GB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.04636, allocations: 0.8885 MB / 0.4919 GB, free: 14.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.04637, allocations: 2.188 kB / 0.4919 GB, free: 14.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.04673, allocations: 199.6 kB / 0.4921 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006783/0.04741, allocations: 94.84 kB / 0.4922 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.04904, allocations: 0.957 MB / 0.4931 GB, free: 13.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.04934, allocations: 251.1 kB / 0.4933 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.04955, allocations: 59.09 kB / 0.4934 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.04967, allocations: 39.08 kB / 0.4934 GB, free: 12.95 MB / 426.7 MB Notification: Performance of SimCode: time 6.62e-07/0.04967, allocations: 0 / 0.4934 GB, free: 12.95 MB / 426.7 MB Notification: Performance of Templates: time 0.01415/0.06382, allocations: 6.19 MB / 0.4995 GB, free: 9.137 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: 5.849593318067491]