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.001019/0.001019, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.001176/0.001176, allocations: 169 kB / 24.05 MB, free: 456 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.9822/0.9822, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.621/0.621, allocations: 115 MB / 376 MB, free: 7.527 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 2.324e-06/2.324e-06, allocations: 0.5469 kB / 482 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.85e-05, allocations: 5.031 kB / 482 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002183/0.002202, allocations: 1.924 MB / 484 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.004095, allocations: 1.741 MB / 485.7 MB, free: 9.227 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.004259, allocations: 7.562 kB / 485.7 MB, free: 9.227 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.004442, allocations: 92.88 kB / 485.8 MB, free: 9.156 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.004683, allocations: 103.2 kB / 485.9 MB, free: 9.082 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.005124, allocations: 414.2 kB / 486.3 MB, free: 8.848 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.005625, allocations: 0.795 MB / 487.1 MB, free: 8.438 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002739/0.005899, allocations: 249 kB / 487.3 MB, free: 8.297 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.006192, allocations: 452.8 kB / 487.8 MB, free: 8.059 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.006389, allocations: 241.7 kB / 488 MB, free: 7.957 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.895e-05/0.006488, allocations: 86.81 kB / 488.1 MB, free: 7.957 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.006612, allocations: 101.1 kB / 488.2 MB, free: 7.953 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.214e-05/0.006684, allocations: 157.9 kB / 488.4 MB, free: 7.844 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.006809, allocations: 229.9 kB / 488.6 MB, free: 7.715 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.007178, allocations: 0.5444 MB / 489.1 MB, free: 7.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.00718, allocations: 1.938 kB / 489.1 MB, free: 7.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.007181, allocations: 1.375 kB / 489.1 MB, free: 7.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.007187, allocations: 0 / 489.1 MB, free: 7.387 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.00104/0.008227, allocations: 1.232 MB / 490.4 MB, free: 6.496 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.008265, allocations: 9.969 kB / 490.4 MB, free: 6.496 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.008381, allocations: 120.6 kB / 490.5 MB, free: 6.445 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.008691, allocations: 367.4 kB / 490.9 MB, free: 6.164 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.008729, allocations: 51.08 kB / 490.9 MB, free: 6.145 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.008798, allocations: 70.23 kB / 491 MB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.009162, allocations: 435.6 kB / 491.4 MB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.009173, allocations: 2.75 kB / 491.4 MB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.0092, allocations: 22.19 kB / 491.4 MB, free: 5.887 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.009216, allocations: 12.97 kB / 491.4 MB, free: 5.887 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.009413, allocations: 155.3 kB / 491.6 MB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.01071, allocations: 1.395 MB / 493 MB, free: 20.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.01101, allocations: 285.9 kB / 493.3 MB, free: 20.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.01113, allocations: 126.1 kB / 493.4 MB, free: 20.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.01115, allocations: 9.344 kB / 493.4 MB, free: 20.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.01134, allocations: 194.6 kB / 493.6 MB, free: 20.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 1.743e-06/0.01134, allocations: 0 / 493.6 MB, free: 20.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.0004167/0.01176, allocations: 364.2 kB / 493.9 MB, free: 20.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.01178, allocations: 113.4 kB / 494 MB, free: 20.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.01199, allocations: 366 kB / 494.4 MB, free: 20.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.01202, allocations: 40.86 kB / 494.4 MB, free: 20.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01215, allocations: 315 kB / 494.8 MB, free: 19.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.01221, allocations: 181.2 kB / 494.9 MB, free: 19.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.01233, allocations: 130.9 kB / 495.1 MB, free: 19.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.01253, allocations: 0.5292 MB / 495.6 MB, free: 19.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.01284, allocations: 167.1 kB / 495.8 MB, free: 19.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.01306, allocations: 384.2 kB / 496.1 MB, free: 18.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.01335, allocations: 320.5 kB / 496.4 MB, free: 18.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01335, allocations: 3.938 kB / 496.4 MB, free: 18.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005473/0.0139, allocations: 0.5399 MB / 497 MB, free: 18.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.01394, allocations: 68.06 kB / 497 MB, free: 18.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01395, allocations: 2.188 kB / 497.1 MB, free: 18.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.01396, allocations: 6.25 kB / 497.1 MB, free: 18.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.01418, allocations: 99.23 kB / 497.2 MB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.01419, allocations: 8.297 kB / 497.2 MB, free: 18.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.01442, allocations: 84.86 kB / 497.2 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.01445, allocations: 22.73 kB / 497.3 MB, free: 18.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000258/0.01471, allocations: 297.3 kB / 497.6 MB, free: 18.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001918/0.0149, allocations: 378.6 kB / 497.9 MB, free: 17.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002397/0.01514, allocations: 322.2 kB / 498.2 MB, free: 17.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.01514, allocations: 1.219 kB / 498.2 MB, free: 17.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0004914/0.01564, allocations: 0.5324 MB / 498.8 MB, free: 17.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.01567, allocations: 76.12 kB / 498.8 MB, free: 17.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.01567, allocations: 1.531 kB / 498.9 MB, free: 17.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-06/0.01568, allocations: 5.656 kB / 498.9 MB, free: 17.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.01585, allocations: 86.77 kB / 498.9 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.01586, allocations: 6.922 kB / 498.9 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.01605, allocations: 76.52 kB / 499 MB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.01607, allocations: 22.73 kB / 499 MB, free: 17.09 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.0001473/0.01622, allocations: 309.7 kB / 499.3 MB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.01628, allocations: 66.25 kB / 499.4 MB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/0.01662, allocations: 307.8 kB / 499.7 MB, free: 16.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.01662, allocations: 6.188 kB / 499.7 MB, free: 16.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01662, allocations: 7.219 kB / 499.7 MB, free: 16.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.01663, allocations: 0.5 kB / 499.7 MB, free: 16.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008463/0.01748, allocations: 0.8738 MB / 0.4889 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.01748, allocations: 1.156 kB / 0.4889 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.01766, allocations: 80.34 kB / 0.4889 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.01767, allocations: 3.562 kB / 0.4889 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.01769, allocations: 16.75 kB / 0.489 GB, free: 16.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.01769, allocations: 3.5 kB / 0.489 GB, free: 16.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.01769, allocations: 2.688 kB / 0.489 GB, free: 16.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.01815, allocations: 0.5912 MB / 0.4895 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.0182, allocations: 53.81 kB / 0.4896 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.01823, allocations: 21 kB / 0.4896 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.01833, allocations: 20.34 kB / 0.4896 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.01838, allocations: 38.81 kB / 0.4897 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.01839, allocations: 14.31 kB / 0.4897 GB, free: 15.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.01851, allocations: 242.6 kB / 0.4899 GB, free: 15.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01851, allocations: 0 / 0.4899 GB, free: 15.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000482/0.019, allocations: 249.2 kB / 0.4902 GB, free: 15.43 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.0001703/0.01917, allocations: 122.6 kB / 0.4903 GB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006635/0.01983, allocations: 0.824 MB / 0.4911 GB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.01983, allocations: 1.219 kB / 0.4911 GB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.01996, allocations: 140.3 kB / 0.4912 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.02035, allocations: 110.1 kB / 0.4913 GB, free: 14.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009439/0.02129, allocations: 0.9098 MB / 0.4922 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.713e-05/0.02138, allocations: 125.7 kB / 0.4923 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.02153, allocations: 60.19 kB / 0.4924 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.02179, allocations: 194.6 kB / 0.4926 GB, free: 14.02 MB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02179, allocations: 1.406 kB / 0.4926 GB, free: 14.02 MB / 426.7 MB Notification: Performance of Templates: time 0.0129/0.03469, allocations: 8.432 MB / 0.5008 GB, free: 8.324 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: 3.8066854728385806]