Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.001265/0.001265, allocations: 84.64 kB / 19.94 MB, free: 1.777 MB / 14.72 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.00139/0.00139, allocations: 163.1 kB / 23.21 MB, free: 4.902 MB / 14.72 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.386/1.386, allocations: 177.1 MB / 203.5 MB, free: 9.176 MB / 190.1 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.9106/0.9106, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 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.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.208e-06/4.208e-06, allocations: 3.984 kB / 0.5547 GB, free: 2.578 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.835e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.004305/0.004333, allocations: 2.791 MB / 0.5575 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.007119, allocations: 1.77 MB / 0.5592 GB, free: 14 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003111/0.00743, allocations: 23.88 kB / 0.5592 GB, free: 13.97 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.007803, allocations: 158.2 kB / 0.5594 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004532/0.008256, allocations: 146.7 kB / 0.5595 GB, free: 13.67 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.008802, allocations: 355.4 kB / 0.5599 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.009836, allocations: 1.096 MB / 0.5609 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006741/0.01051, allocations: 434.8 kB / 0.5613 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006812/0.01119, allocations: 0.6042 MB / 0.5619 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.01156, allocations: 330.7 kB / 0.5622 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.0117, allocations: 120 kB / 0.5624 GB, free: 10.74 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.01184, allocations: 116 kB / 0.5625 GB, free: 10.62 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.01204, allocations: 255.1 kB / 0.5627 GB, free: 10.38 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.01233, allocations: 315 kB / 0.563 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.01357, allocations: 1.359 MB / 0.5643 GB, free: 8.703 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.01358, allocations: 4 kB / 0.5643 GB, free: 8.699 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01358, allocations: 0 / 0.5643 GB, free: 8.699 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.01359, allocations: 4 kB / 0.5643 GB, free: 8.695 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002798/0.01639, allocations: 1.888 MB / 0.5662 GB, free: 6.742 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.01642, allocations: 8.625 kB / 0.5662 GB, free: 6.734 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.01661, allocations: 124.2 kB / 0.5663 GB, free: 6.613 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008137/0.01742, allocations: 0.503 MB / 0.5668 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.01749, allocations: 74.38 kB / 0.5669 GB, free: 6.008 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.01762, allocations: 92.38 kB / 0.567 GB, free: 5.918 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.0192, allocations: 0.9831 MB / 0.5679 GB, free: 4.891 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.01922, allocations: 192 / 0.5679 GB, free: 4.891 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.272e-05/0.01929, allocations: 36.38 kB / 0.568 GB, free: 4.855 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.01932, allocations: 28.38 kB / 0.568 GB, free: 4.828 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.02063, allocations: 0.6167 MB / 0.5686 GB, free: 4.211 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/0.02453, allocations: 2.362 MB / 0.5709 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.02586, allocations: 0.6629 MB / 0.5715 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/0.0265, allocations: 362.6 kB / 0.5719 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/0.02655, allocations: 16.58 kB / 0.5719 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006768/0.02722, allocations: 352.4 kB / 0.5722 GB, free: 400 kB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 2.274e-06/0.02722, allocations: 0 / 0.5722 GB, free: 400 kB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.001675/0.0289, allocations: 0.8137 MB / 0.573 GB, free: 15.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.029, allocations: 162.9 kB / 0.5732 GB, free: 15.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00058/0.02958, allocations: 498 kB / 0.5737 GB, free: 14.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/0.02965, allocations: 41.7 kB / 0.5737 GB, free: 14.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/0.02995, allocations: 412.9 kB / 0.5741 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.03016, allocations: 269.7 kB / 0.5744 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.03035, allocations: 130.7 kB / 0.5745 GB, free: 14.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.03053, allocations: 378.7 kB / 0.5748 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005631/0.0311, allocations: 244.7 kB / 0.5751 GB, free: 13.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000746/0.03184, allocations: 0.5574 MB / 0.5756 GB, free: 12.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.03292, allocations: 0.5409 MB / 0.5762 GB, free: 12.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.03292, allocations: 0 / 0.5762 GB, free: 12.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001364/0.03429, allocations: 0.7002 MB / 0.5768 GB, free: 11.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.0343, allocations: 4 kB / 0.5768 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.03431, allocations: 4 kB / 0.5768 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.03433, allocations: 4 kB / 0.5768 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/0.03497, allocations: 151.7 kB / 0.577 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.03498, allocations: 4 kB / 0.577 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.03543, allocations: 95.59 kB / 0.5771 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.03547, allocations: 20.11 kB / 0.5771 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006377/0.03611, allocations: 355.1 kB / 0.5774 GB, free: 10.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006052/0.03671, allocations: 0.5106 MB / 0.5779 GB, free: 10.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007441/0.03746, allocations: 458 kB / 0.5784 GB, free: 9.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/0.03746, allocations: 7.938 kB / 0.5784 GB, free: 9.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0009535/0.03842, allocations: 0.6104 MB / 0.579 GB, free: 9.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.03843, allocations: 8 kB / 0.579 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.03843, allocations: 0 / 0.579 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.03844, allocations: 7.984 kB / 0.579 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.03893, allocations: 131.8 kB / 0.5791 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.03894, allocations: 4 kB / 0.5791 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.0393, allocations: 87.67 kB / 0.5792 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.03934, allocations: 24 kB / 0.5792 GB, free: 8.941 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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.0001901/0.03953, allocations: 224 kB / 0.5794 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.063e-05/0.03962, allocations: 71.58 kB / 0.5795 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.04087, allocations: 0.6371 MB / 0.5801 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.04088, allocations: 11.98 kB / 0.5802 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.04088, allocations: 3.938 kB / 0.5802 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.04089, allocations: 0 / 0.5802 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.04332, allocations: 1.434 MB / 0.5816 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.04333, allocations: 4 kB / 0.5816 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.04392, allocations: 139.7 kB / 0.5817 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.04392, allocations: 4 kB / 0.5817 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.04397, allocations: 24.11 kB / 0.5817 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.04397, allocations: 11.94 kB / 0.5817 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.04398, allocations: 4 kB / 0.5817 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.04575, allocations: 1.055 MB / 0.5828 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.04586, allocations: 83.31 kB / 0.5828 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.934e-05/0.04593, allocations: 20 kB / 0.5829 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.0463, allocations: 43.95 kB / 0.5829 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/0.04638, allocations: 40.58 kB / 0.5829 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.04642, allocations: 27.98 kB / 0.583 GB, free: 5.004 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003923/0.04682, allocations: 338.9 kB / 0.5833 GB, free: 4.676 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04682, allocations: 0 / 0.5833 GB, free: 4.676 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007234/0.04754, allocations: 350.6 kB / 0.5836 GB, free: 4.332 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000178/0.04772, allocations: 125.2 kB / 0.5837 GB, free: 4.199 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.04934, allocations: 0.8255 MB / 0.5846 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.04934, allocations: 4 kB / 0.5846 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005644/0.04991, allocations: 291.5 kB / 0.5848 GB, free: 3.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008565/0.05076, allocations: 149.5 kB / 0.585 GB, free: 2.949 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.05324, allocations: 1.489 MB / 0.5864 GB, free: 1.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.05362, allocations: 387.5 kB / 0.5868 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000288/0.05391, allocations: 80.91 kB / 0.5869 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.05408, allocations: 60.48 kB / 0.5869 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.05409, allocations: 0 / 0.5869 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of Templates: time 0.01505/0.06913, allocations: 7.471 MB / 0.5942 GB, free: 9.527 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3237162828445435] Failed to read output from testmodel.py, exit status != 0: 0.0778811015188694 0.092225892 0.075710926 Calling exit ...