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.001213/0.001213, allocations: 84.48 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.001375/0.001375, allocations: 161.5 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.393/1.393, allocations: 177.1 MB / 203.5 MB, free: 9.172 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.9081/0.9081, 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.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.733e-06/1.733e-06, allocations: 0 / 0.5547 GB, free: 2.574 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.685e-05, allocations: 4.344 kB / 0.5547 GB, free: 2.57 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.003254/0.003281, allocations: 1.889 MB / 0.5566 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.00587, allocations: 1.715 MB / 0.5583 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.006065, allocations: 11.94 kB / 0.5583 GB, free: 14.94 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.006322, allocations: 94.92 kB / 0.5584 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.006669, allocations: 95.19 kB / 0.5585 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008368/0.007506, allocations: 433.7 kB / 0.5589 GB, free: 14.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007684/0.008275, allocations: 0.7894 MB / 0.5596 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/0.008683, allocations: 258.2 kB / 0.5599 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004988/0.009182, allocations: 451.1 kB / 0.5603 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.009492, allocations: 243.2 kB / 0.5605 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.009614, allocations: 88 kB / 0.5606 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.009759, allocations: 92 kB / 0.5607 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.009897, allocations: 155.4 kB / 0.5609 GB, free: 12.28 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.01014, allocations: 235.4 kB / 0.5611 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009677/0.0111, allocations: 0.9812 MB / 0.562 GB, free: 11.06 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01111, allocations: 0 / 0.562 GB, free: 11.06 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.01111, allocations: 4 kB / 0.5621 GB, free: 11.06 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.01112, allocations: 0 / 0.5621 GB, free: 11.06 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001882/0.013, allocations: 1.102 MB / 0.5631 GB, free: 9.898 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.01304, allocations: 12.61 kB / 0.5631 GB, free: 9.887 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.01319, allocations: 76.52 kB / 0.5632 GB, free: 9.812 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.01384, allocations: 363.6 kB / 0.5636 GB, free: 9.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/0.0139, allocations: 49.67 kB / 0.5636 GB, free: 9.379 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.014, allocations: 64.38 kB / 0.5637 GB, free: 9.316 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009478/0.01495, allocations: 0.5699 MB / 0.5642 GB, free: 8.719 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.01497, allocations: 8.172 kB / 0.5642 GB, free: 8.711 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.184e-05/0.01502, allocations: 24.38 kB / 0.5643 GB, free: 8.688 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.01504, allocations: 12.38 kB / 0.5643 GB, free: 8.676 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007527/0.01579, allocations: 365 kB / 0.5646 GB, free: 8.32 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.01819, allocations: 1.347 MB / 0.5659 GB, free: 6.934 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008572/0.01904, allocations: 417.1 kB / 0.5663 GB, free: 6.516 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/0.01945, allocations: 234.8 kB / 0.5666 GB, free: 6.281 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.01949, allocations: 8.5 kB / 0.5666 GB, free: 6.273 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005074/0.02, allocations: 282 kB / 0.5668 GB, free: 5.984 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 2.084e-06/0.02, allocations: 4 kB / 0.5668 GB, free: 5.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=53): time 0.001215/0.02122, allocations: 0.5749 MB / 0.5674 GB, free: 5.406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/0.02131, allocations: 111.3 kB / 0.5675 GB, free: 5.273 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.02173, allocations: 345.7 kB / 0.5678 GB, free: 4.926 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.617e-05/0.0218, allocations: 37.7 kB / 0.5679 GB, free: 4.883 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.02204, allocations: 273.2 kB / 0.5681 GB, free: 4.613 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.0222, allocations: 178.5 kB / 0.5683 GB, free: 4.438 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.02241, allocations: 122.2 kB / 0.5684 GB, free: 4.309 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.02262, allocations: 354.8 kB / 0.5688 GB, free: 3.953 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/0.02315, allocations: 274.3 kB / 0.569 GB, free: 3.672 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/0.02379, allocations: 481.9 kB / 0.5695 GB, free: 3.137 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008737/0.02467, allocations: 494.7 kB / 0.5699 GB, free: 2.617 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.02467, allocations: 0 / 0.5699 GB, free: 2.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001362/0.02603, allocations: 0.746 MB / 0.5707 GB, free: 1.84 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.444e-05/0.0261, allocations: 67.39 kB / 0.5707 GB, free: 1.762 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.0261, allocations: 4 kB / 0.5707 GB, free: 1.758 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.02613, allocations: 4 kB / 0.5707 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.02654, allocations: 91.89 kB / 0.5708 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.02656, allocations: 7.938 kB / 0.5708 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/0.0271, allocations: 107.6 kB / 0.5709 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/0.02717, allocations: 31.98 kB / 0.571 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005653/0.02773, allocations: 377.7 kB / 0.5713 GB, free: 1.137 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005457/0.02828, allocations: 457.9 kB / 0.5718 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006634/0.02894, allocations: 450.8 kB / 0.5722 GB, free: 144 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.02894, allocations: 4 kB / 0.5722 GB, free: 140 kB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001152/0.0301, allocations: 0.6873 MB / 0.5729 GB, free: 15.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.476e-05/0.03015, allocations: 69.42 kB / 0.5729 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.03015, allocations: 0 / 0.5729 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-06/0.03016, allocations: 4 kB / 0.5729 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.03049, allocations: 91.83 kB / 0.573 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.0305, allocations: 8.156 kB / 0.573 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005103/0.03101, allocations: 91.7 kB / 0.5731 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/0.03106, allocations: 23.98 kB / 0.5732 GB, free: 15.12 MB / 494.1 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.0002045/0.03127, allocations: 216.2 kB / 0.5734 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.03133, allocations: 51.59 kB / 0.5734 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009141/0.03225, allocations: 470.7 kB / 0.5739 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.03225, allocations: 4 kB / 0.5739 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.03226, allocations: 4 kB / 0.5739 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.03226, allocations: 0 / 0.5739 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.034, allocations: 1.047 MB / 0.5749 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.03401, allocations: 4 kB / 0.5749 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.03437, allocations: 87.83 kB / 0.575 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.03438, allocations: 4.188 kB / 0.575 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.03442, allocations: 12 kB / 0.575 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.03442, allocations: 7.938 kB / 0.575 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.03442, allocations: 4.188 kB / 0.575 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.03566, allocations: 0.7828 MB / 0.5758 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.03574, allocations: 55.64 kB / 0.5758 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.03579, allocations: 12 kB / 0.5758 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.03603, allocations: 32.03 kB / 0.5759 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.03612, allocations: 48.38 kB / 0.5759 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.03615, allocations: 19.98 kB / 0.5759 GB, free: 12.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002678/0.03642, allocations: 243.2 kB / 0.5762 GB, free: 11.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03642, allocations: 0 / 0.5762 GB, free: 11.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006888/0.03711, allocations: 243.3 kB / 0.5764 GB, free: 11.71 MB / 494.1 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.0002072/0.03732, allocations: 127 kB / 0.5765 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.03906, allocations: 1.048 MB / 0.5775 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.03906, allocations: 4 kB / 0.5775 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.03943, allocations: 199.7 kB / 0.5777 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.04008, allocations: 101.1 kB / 0.5778 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.04166, allocations: 0.9586 MB / 0.5788 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.04191, allocations: 259.7 kB / 0.579 GB, free: 8.879 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.04211, allocations: 51.28 kB / 0.5791 GB, free: 8.824 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.04225, allocations: 44.48 kB / 0.5791 GB, free: 8.781 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.04225, allocations: 0 / 0.5791 GB, free: 8.781 MB / 494.1 MB Notification: Performance of Templates: time 0.01441/0.05666, allocations: 7.704 MB / 0.5866 GB, free: 1.227 MB / 494.1 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.322089798748493] Failed to read output from testmodel.py, exit status != 0: 0.06475341320037842 0.079313403 0.065242482 Calling exit ...