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.0009185/0.0009185, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.0009324/0.0009324, allocations: 169 kB / 24.25 MB, free: 304 kB / 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.9989/0.9989, allocations: 177.1 MB / 204.6 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.6537/0.6537, allocations: 115 MB / 376 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 2.474e-06/2.474e-06, allocations: 0.5469 kB / 481.6 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.236e-05, allocations: 2.312 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003647/0.003679, allocations: 1.887 MB / 483.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.006055, allocations: 1.66 MB / 485.1 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002676/0.006322, allocations: 12.62 kB / 485.2 MB, free: 9.465 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.006642, allocations: 90.03 kB / 485.2 MB, free: 9.398 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004415/0.007084, allocations: 95.77 kB / 485.3 MB, free: 9.328 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006888/0.007773, allocations: 314.2 kB / 485.6 MB, free: 9.145 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006374/0.00841, allocations: 0.7012 MB / 486.3 MB, free: 8.777 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.008766, allocations: 221.2 kB / 486.6 MB, free: 8.656 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.009107, allocations: 402.9 kB / 487 MB, free: 8.441 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.009417, allocations: 203.9 kB / 487.1 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.009523, allocations: 78 kB / 487.2 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.009648, allocations: 88.62 kB / 487.3 MB, free: 8.352 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.228e-05/0.009731, allocations: 149 kB / 487.5 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.009878, allocations: 202.2 kB / 487.7 MB, free: 8.129 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.01029, allocations: 490.7 kB / 488.1 MB, free: 7.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.0103, allocations: 0 / 488.1 MB, free: 7.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.0103, allocations: 1.125 kB / 488.1 MB, free: 7.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.01031, allocations: 0 / 488.1 MB, free: 7.836 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.001142/0.01145, allocations: 1.129 MB / 489.3 MB, free: 7.027 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.01149, allocations: 8.906 kB / 489.3 MB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.01162, allocations: 107.3 kB / 489.4 MB, free: 6.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.01201, allocations: 359 kB / 489.7 MB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.01205, allocations: 44.38 kB / 489.8 MB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.802e-05/0.01213, allocations: 63.56 kB / 489.8 MB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.01263, allocations: 445.4 kB / 490.3 MB, free: 6.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.01264, allocations: 1.25 kB / 490.3 MB, free: 6.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.01267, allocations: 21.38 kB / 490.3 MB, free: 6.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.01268, allocations: 16.28 kB / 490.3 MB, free: 6.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.01296, allocations: 185.2 kB / 490.5 MB, free: 6.395 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.0143, allocations: 1.369 MB / 491.9 MB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.01468, allocations: 286.2 kB / 492.1 MB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.01485, allocations: 140.4 kB / 492.3 MB, free: 5.348 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.01488, allocations: 7.656 kB / 492.3 MB, free: 5.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.0151, allocations: 182.9 kB / 492.5 MB, free: 5.258 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 2.054e-06/0.0151, allocations: 0 / 492.5 MB, free: 5.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=47): time 0.0005342/0.01563, allocations: 368.7 kB / 492.8 MB, free: 5.141 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.01568, allocations: 120.6 kB / 492.9 MB, free: 5.004 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.01605, allocations: 375.7 kB / 493.3 MB, free: 20.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.01608, allocations: 38.3 kB / 493.3 MB, free: 20.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.01622, allocations: 307 kB / 493.6 MB, free: 20.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/0.01629, allocations: 170.9 kB / 493.8 MB, free: 20.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.0164, allocations: 103.1 kB / 493.9 MB, free: 20.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.01654, allocations: 0.5231 MB / 494.4 MB, free: 19.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.01674, allocations: 135.2 kB / 494.6 MB, free: 19.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.01695, allocations: 361.9 kB / 494.9 MB, free: 19.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.01728, allocations: 305.5 kB / 495.2 MB, free: 19.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01728, allocations: 3.719 kB / 495.2 MB, free: 19.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005185/0.0178, allocations: 474.3 kB / 495.7 MB, free: 18.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.01783, allocations: 37.67 kB / 495.7 MB, free: 18.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01783, allocations: 2.656 kB / 495.7 MB, free: 18.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.01785, allocations: 5.781 kB / 495.7 MB, free: 18.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.01809, allocations: 94.98 kB / 495.8 MB, free: 18.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.0181, allocations: 7.938 kB / 495.8 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.01827, allocations: 65.61 kB / 495.9 MB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.0183, allocations: 24.44 kB / 495.9 MB, free: 18.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002186/0.01852, allocations: 256.7 kB / 496.2 MB, free: 18.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002088/0.01872, allocations: 357.3 kB / 496.5 MB, free: 18.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002763/0.019, allocations: 303.8 kB / 496.8 MB, free: 18.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.019, allocations: 3.984 kB / 496.8 MB, free: 18.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0004765/0.01948, allocations: 468.7 kB / 497.3 MB, free: 17.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.0195, allocations: 38.22 kB / 497.3 MB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.0195, allocations: 3.688 kB / 497.3 MB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.01951, allocations: 3.625 kB / 497.3 MB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.01969, allocations: 87.59 kB / 497.4 MB, free: 17.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.01969, allocations: 9.094 kB / 497.4 MB, free: 17.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.01984, allocations: 65.23 kB / 497.5 MB, free: 17.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.01987, allocations: 22.69 kB / 497.5 MB, free: 17.9 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.0001307/0.02, allocations: 297.9 kB / 497.8 MB, free: 17.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.02005, allocations: 60.88 kB / 497.8 MB, free: 17.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.02042, allocations: 312.5 kB / 498.2 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.02043, allocations: 5.656 kB / 498.2 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.02043, allocations: 7.922 kB / 498.2 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.02044, allocations: 2.953 kB / 498.2 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008802/0.02132, allocations: 0.8973 MB / 499.1 MB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.02132, allocations: 2.25 kB / 499.1 MB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.02152, allocations: 80.69 kB / 499.1 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.02152, allocations: 3.375 kB / 499.2 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.02155, allocations: 17.77 kB / 499.2 MB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.02155, allocations: 3.406 kB / 499.2 MB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.02155, allocations: 2.031 kB / 499.2 MB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/0.02208, allocations: 0.5824 MB / 499.8 MB, free: 16.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.02212, allocations: 48.25 kB / 499.8 MB, free: 16.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.02215, allocations: 12.86 kB / 499.8 MB, free: 16.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.02225, allocations: 20.62 kB / 499.8 MB, free: 16.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.02231, allocations: 29.84 kB / 499.9 MB, free: 16.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.02233, allocations: 22.34 kB / 499.9 MB, free: 16.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.02248, allocations: 254.6 kB / 0.4884 GB, free: 16.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02248, allocations: 0 / 0.4884 GB, free: 16.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003919/0.02287, allocations: 211.6 kB / 0.4886 GB, free: 16.21 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.0001622/0.02303, allocations: 123.5 kB / 0.4887 GB, free: 16.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006778/0.02371, allocations: 0.6316 MB / 0.4894 GB, free: 15.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02371, allocations: 1.406 kB / 0.4894 GB, free: 15.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.02388, allocations: 141.5 kB / 0.4895 GB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.02427, allocations: 99.06 kB / 0.4896 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.02517, allocations: 0.874 MB / 0.4904 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.708e-05/0.02525, allocations: 122.6 kB / 0.4906 GB, free: 15.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.02538, allocations: 51.97 kB / 0.4906 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.02546, allocations: 43.08 kB / 0.4906 GB, free: 15.06 MB / 426.7 MB Notification: Performance of SimCode: time 6.02e-07/0.02546, allocations: 1.906 kB / 0.4906 GB, free: 15.06 MB / 426.7 MB Notification: Performance of Templates: time 0.009875/0.03533, allocations: 6.187 MB / 0.4967 GB, free: 12.58 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.7788818501867354]