Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.002424/0.002424, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.002066/0.002066, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.568/1.568, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.05/1.05, allocations: 115 MB / 375.3 MB, free: 7.574 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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0.875 kB / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.112e-05, allocations: 4.844 kB / 480.9 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002652/0.002673, allocations: 1.951 MB / 482.8 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.004616, allocations: 1.719 MB / 484.5 MB, free: 9.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.00481, allocations: 12.25 kB / 484.5 MB, free: 9.406 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.005041, allocations: 87.66 kB / 484.6 MB, free: 9.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.005346, allocations: 111.4 kB / 484.7 MB, free: 9.262 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.005976, allocations: 414 kB / 485.1 MB, free: 9.027 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.006522, allocations: 0.7936 MB / 485.9 MB, free: 8.617 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.00687, allocations: 246.4 kB / 486.2 MB, free: 8.473 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.007232, allocations: 453.6 kB / 486.6 MB, free: 8.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.007474, allocations: 245.6 kB / 486.8 MB, free: 8.129 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.007592, allocations: 85.81 kB / 486.9 MB, free: 8.129 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.007733, allocations: 93.56 kB / 487 MB, free: 8.129 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.936e-05/0.007822, allocations: 161.9 kB / 487.2 MB, free: 8.016 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.008008, allocations: 227.5 kB / 487.4 MB, free: 7.887 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006677/0.008676, allocations: 0.9732 MB / 488.4 MB, free: 7.492 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.008678, allocations: 2.688 kB / 488.4 MB, free: 7.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008679, allocations: 0 / 488.4 MB, free: 7.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.008689, allocations: 0 / 488.4 MB, free: 7.492 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001611/0.0103, allocations: 1.372 MB / 489.8 MB, free: 6.543 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.01033, allocations: 10.31 kB / 489.8 MB, free: 6.543 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.0105, allocations: 116.1 kB / 489.9 MB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.01097, allocations: 374.9 kB / 490.2 MB, free: 6.215 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.01102, allocations: 48.41 kB / 490.3 MB, free: 6.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.285e-05/0.01111, allocations: 69.09 kB / 490.4 MB, free: 6.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/0.01188, allocations: 0.5865 MB / 490.9 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.0119, allocations: 1.312 kB / 490.9 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.01193, allocations: 20.78 kB / 491 MB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.01195, allocations: 14.75 kB / 491 MB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006056/0.01255, allocations: 346.4 kB / 491.3 MB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.01477, allocations: 1.715 MB / 493 MB, free: 20.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006955/0.01547, allocations: 424.9 kB / 493.4 MB, free: 20.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.01583, allocations: 230.5 kB / 493.7 MB, free: 20.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.01588, allocations: 9.719 kB / 493.7 MB, free: 20.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004079/0.01628, allocations: 276.1 kB / 494 MB, free: 20.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 1.883e-06/0.01628, allocations: 1.25 kB / 494 MB, free: 20.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.001015/0.0173, allocations: 0.5732 MB / 494.5 MB, free: 20.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.01734, allocations: 113 kB / 494.6 MB, free: 19.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.01774, allocations: 461.5 kB / 495.1 MB, free: 19.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.01779, allocations: 41.42 kB / 495.1 MB, free: 19.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.01797, allocations: 323.9 kB / 495.4 MB, free: 19.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.896e-05/0.01807, allocations: 198.4 kB / 495.6 MB, free: 19.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.01826, allocations: 138.7 kB / 495.8 MB, free: 19.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002657/0.01853, allocations: 0.554 MB / 496.3 MB, free: 18.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004438/0.01897, allocations: 283.2 kB / 496.6 MB, free: 18.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.01947, allocations: 0.514 MB / 497.1 MB, free: 18.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/0.02022, allocations: 0.5167 MB / 497.6 MB, free: 17.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.02022, allocations: 0 / 497.6 MB, free: 17.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001234/0.02146, allocations: 0.7634 MB / 498.4 MB, free: 17.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/0.02152, allocations: 73.36 kB / 498.5 MB, free: 17.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.02153, allocations: 1.094 kB / 498.5 MB, free: 17.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.02155, allocations: 4.281 kB / 498.5 MB, free: 17.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.02194, allocations: 92.16 kB / 498.6 MB, free: 17.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.02195, allocations: 3.406 kB / 498.6 MB, free: 17.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.0224, allocations: 90.03 kB / 498.7 MB, free: 17.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/0.02245, allocations: 25.2 kB / 498.7 MB, free: 17.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006155/0.02307, allocations: 437.5 kB / 499.1 MB, free: 16.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005212/0.02359, allocations: 0.4943 MB / 499.6 MB, free: 16.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006221/0.02421, allocations: 497 kB / 0.4884 GB, free: 16.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.125e-06/0.02421, allocations: 7.078 kB / 0.4884 GB, free: 16.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001077/0.02529, allocations: 0.7278 MB / 0.4891 GB, free: 15.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/0.02535, allocations: 72.25 kB / 0.4892 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.02535, allocations: 2.75 kB / 0.4892 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-06/0.02536, allocations: 3.625 kB / 0.4892 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.02568, allocations: 84.36 kB / 0.4892 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.02569, allocations: 4.281 kB / 0.4892 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.02609, allocations: 83.36 kB / 0.4893 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.02614, allocations: 26.55 kB / 0.4893 GB, free: 15.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 2 * 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.0002466/0.02639, allocations: 301.4 kB / 0.4896 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.028e-05/0.02648, allocations: 70.92 kB / 0.4897 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007846/0.02726, allocations: 457.4 kB / 0.4901 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.02727, allocations: 5.562 kB / 0.4901 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.02727, allocations: 1.344 kB / 0.4901 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.02728, allocations: 4.516 kB / 0.4901 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.02896, allocations: 1.196 MB / 0.4913 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.02897, allocations: 6.375 kB / 0.4913 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.02931, allocations: 79.97 kB / 0.4914 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.02932, allocations: 3.625 kB / 0.4914 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.02935, allocations: 16.5 kB / 0.4914 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.02936, allocations: 7.578 kB / 0.4914 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.02936, allocations: 2.094 kB / 0.4914 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.03055, allocations: 0.8528 MB / 0.4923 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.03063, allocations: 53.8 kB / 0.4923 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.843e-05/0.03069, allocations: 13.55 kB / 0.4923 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.03092, allocations: 21.47 kB / 0.4923 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/0.031, allocations: 38.23 kB / 0.4924 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.03104, allocations: 23.97 kB / 0.4924 GB, free: 13.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000353/0.03139, allocations: 305.1 kB / 0.4927 GB, free: 13.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03139, allocations: 1.469 kB / 0.4927 GB, free: 13.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000744/0.03214, allocations: 253.2 kB / 0.4929 GB, free: 13.54 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: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 51 * 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.0002256/0.03236, allocations: 115.4 kB / 0.493 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.03449, allocations: 1.197 MB / 0.4942 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.03449, allocations: 0 / 0.4942 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004348/0.03493, allocations: 223.2 kB / 0.4944 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006899/0.03562, allocations: 113.4 kB / 0.4945 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.03741, allocations: 0.9996 MB / 0.4955 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.03772, allocations: 265.3 kB / 0.4958 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002113/0.03794, allocations: 57.31 kB / 0.4958 GB, free: 10.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.03806, allocations: 38.98 kB / 0.4959 GB, free: 10.69 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.03806, allocations: 0.6562 kB / 0.4959 GB, free: 10.69 MB / 426.7 MB Notification: Performance of Templates: time 0.01607/0.05413, allocations: 7.744 MB / 0.5034 GB, free: 5.004 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.005596705945209]