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.001253/0.001253, allocations: 83.27 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.001366/0.001366, allocations: 163.9 kB / 23.22 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.388/1.388, allocations: 177.1 MB / 203.5 MB, free: 9.168 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.9036/0.9036, allocations: 114 MB / 373.9 MB, free: 13.27 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.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 1.453e-06/1.453e-06, allocations: 0 / 0.5547 GB, free: 2.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.22e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.586 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003097/0.003119, allocations: 1.811 MB / 0.5565 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.00563, allocations: 1.641 MB / 0.5581 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.005821, allocations: 11.94 kB / 0.5581 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.006064, allocations: 91.05 kB / 0.5582 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.006395, allocations: 94.5 kB / 0.5583 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006569/0.007052, allocations: 321.2 kB / 0.5586 GB, free: 14.62 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007087/0.00776, allocations: 0.6919 MB / 0.5593 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.008147, allocations: 233.8 kB / 0.5595 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00044/0.008587, allocations: 399.1 kB / 0.5599 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.008862, allocations: 211.3 kB / 0.5601 GB, free: 13.1 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.008967, allocations: 76 kB / 0.5602 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.009104, allocations: 87.97 kB / 0.5602 GB, free: 12.94 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.009234, allocations: 147.5 kB / 0.5604 GB, free: 12.79 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.009444, allocations: 199.4 kB / 0.5606 GB, free: 12.6 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008912/0.01033, allocations: 0.8761 MB / 0.5614 GB, free: 11.72 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.01034, allocations: 0 / 0.5614 GB, free: 11.72 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01034, allocations: 4 kB / 0.5614 GB, free: 11.71 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.01035, allocations: 0 / 0.5614 GB, free: 11.71 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001836/0.01219, allocations: 1.028 MB / 0.5624 GB, free: 10.63 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.01223, allocations: 12.62 kB / 0.5624 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.01237, allocations: 68.52 kB / 0.5625 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.01296, allocations: 358.2 kB / 0.5629 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.013, allocations: 37.38 kB / 0.5629 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.656e-05/0.0131, allocations: 56.38 kB / 0.5629 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000958/0.01406, allocations: 0.538 MB / 0.5635 GB, free: 9.527 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.01407, allocations: 4.188 kB / 0.5635 GB, free: 9.523 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.01412, allocations: 24.38 kB / 0.5635 GB, free: 9.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.01414, allocations: 16.31 kB / 0.5635 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007565/0.0149, allocations: 347.7 kB / 0.5638 GB, free: 9.148 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.01728, allocations: 1.267 MB / 0.5651 GB, free: 7.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008362/0.01812, allocations: 400.4 kB / 0.5655 GB, free: 7.441 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004094/0.01852, allocations: 209.4 kB / 0.5657 GB, free: 7.234 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.01856, allocations: 8 kB / 0.5657 GB, free: 7.227 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000488/0.01904, allocations: 241.8 kB / 0.5659 GB, free: 6.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 2.665e-06/0.01905, allocations: 0 / 0.5659 GB, free: 6.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.001168/0.02022, allocations: 0.5279 MB / 0.5664 GB, free: 6.449 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/0.0203, allocations: 115.2 kB / 0.5665 GB, free: 6.312 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.02072, allocations: 349.6 kB / 0.5669 GB, free: 5.961 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/0.02078, allocations: 37.7 kB / 0.5669 GB, free: 5.918 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.02101, allocations: 261.2 kB / 0.5671 GB, free: 5.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.02115, allocations: 166.6 kB / 0.5673 GB, free: 5.496 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.02132, allocations: 98.17 kB / 0.5674 GB, free: 5.395 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.02151, allocations: 354.8 kB / 0.5677 GB, free: 5.039 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.02198, allocations: 212.5 kB / 0.5679 GB, free: 4.824 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.0226, allocations: 424.1 kB / 0.5683 GB, free: 4.344 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008337/0.02343, allocations: 436.4 kB / 0.5688 GB, free: 3.887 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.02343, allocations: 0 / 0.5688 GB, free: 3.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0012/0.02463, allocations: 0.6021 MB / 0.5693 GB, free: 3.266 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.02469, allocations: 37.69 kB / 0.5694 GB, free: 3.223 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.0247, allocations: 0 / 0.5694 GB, free: 3.223 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.02471, allocations: 7.938 kB / 0.5694 GB, free: 3.215 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.02513, allocations: 95.83 kB / 0.5695 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.02514, allocations: 7.938 kB / 0.5695 GB, free: 3.113 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004411/0.02558, allocations: 87.73 kB / 0.5696 GB, free: 3.027 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.02563, allocations: 23.98 kB / 0.5696 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000501/0.02613, allocations: 314.8 kB / 0.5699 GB, free: 2.688 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005009/0.02663, allocations: 388.2 kB / 0.5703 GB, free: 2.238 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006167/0.02725, allocations: 397.1 kB / 0.5706 GB, free: 1.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.02725, allocations: 0 / 0.5706 GB, free: 1.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009745/0.02823, allocations: 0.5552 MB / 0.5712 GB, free: 1.246 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.02826, allocations: 37.7 kB / 0.5712 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.02827, allocations: 0 / 0.5712 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/0.02827, allocations: 4.219 kB / 0.5712 GB, free: 1.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.02862, allocations: 99.83 kB / 0.5713 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.02862, allocations: 4 kB / 0.5713 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.02902, allocations: 71.67 kB / 0.5714 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.02906, allocations: 20 kB / 0.5714 GB, free: 1.008 MB / 478.1 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.0002011/0.02926, allocations: 211.1 kB / 0.5716 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.02933, allocations: 47.81 kB / 0.5717 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008829/0.03022, allocations: 438.7 kB / 0.5721 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.03022, allocations: 4 kB / 0.5721 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.03023, allocations: 3.938 kB / 0.5721 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.03024, allocations: 0 / 0.5721 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.03193, allocations: 0.9718 MB / 0.573 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.03194, allocations: 4 kB / 0.573 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.0323, allocations: 83.83 kB / 0.5731 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.03231, allocations: 4 kB / 0.5731 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.03234, allocations: 19.92 kB / 0.5731 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.03235, allocations: 4 kB / 0.5731 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.03235, allocations: 8.188 kB / 0.5732 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.03357, allocations: 0.7165 MB / 0.5739 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.03365, allocations: 51.64 kB / 0.5739 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.0337, allocations: 12 kB / 0.5739 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.03394, allocations: 27.91 kB / 0.5739 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.03401, allocations: 35.73 kB / 0.574 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.03405, allocations: 23.92 kB / 0.574 GB, free: 14.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002797/0.03433, allocations: 239.2 kB / 0.5742 GB, free: 14.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03433, allocations: 4 kB / 0.5742 GB, free: 14.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006582/0.03499, allocations: 211.4 kB / 0.5744 GB, free: 13.81 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: 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.0002169/0.03521, allocations: 119.1 kB / 0.5745 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.03669, allocations: 0.7843 MB / 0.5753 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.03669, allocations: 0 / 0.5753 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.03705, allocations: 181.3 kB / 0.5755 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006556/0.03771, allocations: 98.16 kB / 0.5756 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.03931, allocations: 0.9009 MB / 0.5765 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.03956, allocations: 247 kB / 0.5767 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.03975, allocations: 51.25 kB / 0.5767 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.03987, allocations: 48.47 kB / 0.5768 GB, free: 11.28 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.03987, allocations: 0 / 0.5768 GB, free: 11.28 MB / 494.1 MB Notification: Performance of Templates: time 0.0128/0.05267, allocations: 6.149 MB / 0.5828 GB, free: 5.242 MB / 494.1 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.262610096484423] Failed to read output from testmodel.py, exit status != 0: 0.06155048683285713 0.07652314 0.063079124 Calling exit ...