Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.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.001285/0.001285, allocations: 83.03 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.00135/0.00135, allocations: 163.8 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.38/1.38, allocations: 177.2 MB / 203.5 MB, free: 9.184 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.9018/0.9018, allocations: 114 MB / 373.9 MB, free: 13.23 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.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.5547 GB, free: 2.582 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.237e-05, allocations: 4.672 kB / 0.5547 GB, free: 2.578 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PID): time 0.004444/0.004466, allocations: 3.068 MB / 0.5577 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.007793, allocations: 2.151 MB / 0.5598 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003507/0.008143, allocations: 23.88 kB / 0.5599 GB, free: 13.31 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.008532, allocations: 174.1 kB / 0.56 GB, free: 13.14 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000507/0.009039, allocations: 173.1 kB / 0.5602 GB, free: 12.97 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009438/0.009983, allocations: 0.4977 MB / 0.5607 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.01122, allocations: 1.279 MB / 0.5619 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006599/0.01188, allocations: 406.3 kB / 0.5623 GB, free: 10.78 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007289/0.01261, allocations: 0.6588 MB / 0.563 GB, free: 10.12 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.01303, allocations: 354.7 kB / 0.5633 GB, free: 9.773 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.01319, allocations: 132 kB / 0.5634 GB, free: 9.645 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.01339, allocations: 144 kB / 0.5636 GB, free: 9.504 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.01361, allocations: 255 kB / 0.5638 GB, free: 9.254 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.01395, allocations: 347 kB / 0.5641 GB, free: 8.914 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.01537, allocations: 1.495 MB / 0.5656 GB, free: 7.414 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.01538, allocations: 0 / 0.5656 GB, free: 7.414 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01538, allocations: 0 / 0.5656 GB, free: 7.414 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.0154, allocations: 0 / 0.5656 GB, free: 7.414 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.00267/0.01807, allocations: 1.544 MB / 0.5671 GB, free: 5.812 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.0181, allocations: 8.625 kB / 0.5671 GB, free: 5.805 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.01829, allocations: 124.2 kB / 0.5672 GB, free: 5.684 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008888/0.01918, allocations: 0.5496 MB / 0.5678 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.355e-05/0.01925, allocations: 70.38 kB / 0.5678 GB, free: 5.035 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.0194, allocations: 88.38 kB / 0.5679 GB, free: 4.949 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.02096, allocations: 0.9896 MB / 0.5689 GB, free: 3.906 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.02098, allocations: 4.125 kB / 0.5689 GB, free: 3.902 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.02106, allocations: 32.38 kB / 0.5689 GB, free: 3.871 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.02108, allocations: 24.38 kB / 0.5689 GB, free: 3.848 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.02246, allocations: 0.6402 MB / 0.5696 GB, free: 3.207 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004137/0.0266, allocations: 2.514 MB / 0.572 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.02821, allocations: 0.6617 MB / 0.5727 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006865/0.0289, allocations: 342.5 kB / 0.573 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.416e-05/0.02894, allocations: 24.52 kB / 0.573 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006997/0.02964, allocations: 348.3 kB / 0.5733 GB, free: 15.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=68): time 2.214e-06/0.02964, allocations: 0 / 0.5733 GB, free: 15.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=68): time 0.001877/0.03152, allocations: 0.8254 MB / 0.5742 GB, free: 14.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.03165, allocations: 196.5 kB / 0.5743 GB, free: 14.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007193/0.03237, allocations: 0.585 MB / 0.5749 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.467e-05/0.03243, allocations: 41.7 kB / 0.575 GB, free: 13.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.0328, allocations: 448.5 kB / 0.5754 GB, free: 13.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.03299, allocations: 238 kB / 0.5756 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.03324, allocations: 146.6 kB / 0.5757 GB, free: 12.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.03344, allocations: 382.8 kB / 0.5761 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007482/0.03418, allocations: 326.4 kB / 0.5764 GB, free: 11.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.03524, allocations: 0.7548 MB / 0.5772 GB, free: 11.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.03666, allocations: 0.6696 MB / 0.5778 GB, free: 10.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.03666, allocations: 0 / 0.5778 GB, free: 10.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00189/0.03855, allocations: 0.9141 MB / 0.5787 GB, free: 9.434 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.0386, allocations: 37.7 kB / 0.5787 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.03861, allocations: 4 kB / 0.5787 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.03863, allocations: 8 kB / 0.5788 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.03931, allocations: 163.8 kB / 0.5789 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.03933, allocations: 11.94 kB / 0.5789 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006718/0.04, allocations: 127.5 kB / 0.579 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.04006, allocations: 31.98 kB / 0.5791 GB, free: 9.051 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007101/0.04077, allocations: 419.8 kB / 0.5795 GB, free: 8.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007992/0.04157, allocations: 0.6889 MB / 0.5801 GB, free: 7.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009185/0.04249, allocations: 0.572 MB / 0.5807 GB, free: 7.188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.04249, allocations: 4 kB / 0.5807 GB, free: 7.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001425/0.04392, allocations: 0.7889 MB / 0.5815 GB, free: 6.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.04397, allocations: 41.69 kB / 0.5815 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.04397, allocations: 4 kB / 0.5815 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.04398, allocations: 4.375 kB / 0.5815 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.04451, allocations: 139.8 kB / 0.5817 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.04452, allocations: 8 kB / 0.5817 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000625/0.04515, allocations: 107.5 kB / 0.5818 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.04521, allocations: 39.98 kB / 0.5818 GB, free: 6.031 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,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 (90): * Single equations (assignments): 89 * 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.0002532/0.04546, allocations: 236 kB / 0.582 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.04557, allocations: 75.47 kB / 0.5821 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.04699, allocations: 0.6411 MB / 0.5827 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.047, allocations: 12 kB / 0.5827 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.04701, allocations: 7.922 kB / 0.5828 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.04702, allocations: 0 / 0.5828 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.04958, allocations: 1.431 MB / 0.5841 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.04959, allocations: 0 / 0.5841 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.05016, allocations: 131.8 kB / 0.5843 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.05016, allocations: 4.188 kB / 0.5843 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.05021, allocations: 19.98 kB / 0.5843 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.05021, allocations: 12.22 kB / 0.5843 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.05022, allocations: 3.938 kB / 0.5843 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.05224, allocations: 1.08 MB / 0.5854 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.05236, allocations: 83.44 kB / 0.5854 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.428e-05/0.05245, allocations: 20 kB / 0.5855 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.05285, allocations: 43.95 kB / 0.5855 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/0.05294, allocations: 52.3 kB / 0.5856 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.05299, allocations: 27.98 kB / 0.5856 GB, free: 2.043 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005106/0.0535, allocations: 402.8 kB / 0.586 GB, free: 1.652 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0535, allocations: 0 / 0.586 GB, free: 1.652 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000893/0.05439, allocations: 354.8 kB / 0.5863 GB, free: 1.305 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (noLimPID.D.x,noLimPID.I.y,limPD.D.x,limPI.I.y,limPID.D.x,limPID.I.y) * Number of discrete variables: 3 ($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 (68): * Single equations (assignments): 67 * 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.0002287/0.05462, allocations: 135 kB / 0.5864 GB, free: 1.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002212/0.05683, allocations: 1.12 MB / 0.5875 GB, free: 4 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.05683, allocations: 128 / 0.5875 GB, free: 4 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006173/0.05745, allocations: 290.5 kB / 0.5878 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009743/0.05843, allocations: 194.6 kB / 0.588 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.06085, allocations: 1.456 MB / 0.5894 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.06125, allocations: 388.4 kB / 0.5898 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003268/0.06157, allocations: 93.3 kB / 0.5899 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.06176, allocations: 60.48 kB / 0.5899 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.06176, allocations: 0 / 0.5899 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.0185/0.08026, allocations: 9.898 MB / 0.5996 GB, free: 3.762 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.452821232378483] Failed to read output from testmodel.py, exit status != 0: 0.08890197426080704 0.106730088 0.086870057 Calling exit ...