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.0007791/0.0007791, allocations: 84.44 kB / 20.7 MB, free: 3.875 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.000757/0.000757, allocations: 165.9 kB / 23.96 MB, free: 0.6055 MB / 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.8353/0.8353, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.5593/0.5593, allocations: 114 MB / 374.7 MB, free: 8.703 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.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 2.314e-06/2.314e-06, allocations: 0 / 0.5555 GB, free: 1.129 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.726e-05, allocations: 2.281 kB / 0.5555 GB, free: 1.125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PID): time 0.003179/0.003206, allocations: 3.049 MB / 0.5585 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.005952, allocations: 2.159 MB / 0.5606 GB, free: 11.89 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004762/0.006428, allocations: 23.88 kB / 0.5606 GB, free: 11.87 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.006784, allocations: 182 kB / 0.5608 GB, free: 11.69 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004799/0.007264, allocations: 162.5 kB / 0.5609 GB, free: 11.53 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007845/0.008049, allocations: 0.5042 MB / 0.5614 GB, free: 11.03 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.009304, allocations: 1.268 MB / 0.5626 GB, free: 9.762 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000546/0.00985, allocations: 414.2 kB / 0.563 GB, free: 9.34 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000601/0.01045, allocations: 0.6665 MB / 0.5637 GB, free: 8.672 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.01078, allocations: 350.7 kB / 0.564 GB, free: 8.328 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.0109, allocations: 132 kB / 0.5642 GB, free: 8.199 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.01103, allocations: 144 kB / 0.5643 GB, free: 8.059 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.01116, allocations: 255 kB / 0.5645 GB, free: 7.809 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.01137, allocations: 343 kB / 0.5649 GB, free: 7.473 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.01242, allocations: 1.491 MB / 0.5663 GB, free: 5.977 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.01242, allocations: 4 kB / 0.5663 GB, free: 5.973 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01243, allocations: 0 / 0.5663 GB, free: 5.973 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.559e-05/0.01245, allocations: 0 / 0.5663 GB, free: 5.973 MB / 490.7 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.001958/0.01441, allocations: 1.544 MB / 0.5678 GB, free: 4.371 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.01445, allocations: 8.625 kB / 0.5678 GB, free: 4.363 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.01459, allocations: 124.2 kB / 0.568 GB, free: 4.242 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007332/0.01533, allocations: 0.5496 MB / 0.5685 GB, free: 3.664 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.01537, allocations: 70.38 kB / 0.5686 GB, free: 3.594 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-05/0.01546, allocations: 96.36 kB / 0.5687 GB, free: 3.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.01678, allocations: 0.9857 MB / 0.5696 GB, free: 2.461 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.0168, allocations: 192 / 0.5696 GB, free: 2.461 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/0.01684, allocations: 40.31 kB / 0.5697 GB, free: 2.422 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.01685, allocations: 24.38 kB / 0.5697 GB, free: 2.398 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008862/0.01774, allocations: 0.6362 MB / 0.5703 GB, free: 1.762 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.02058, allocations: 2.506 MB / 0.5727 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.02158, allocations: 0.6692 MB / 0.5734 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/0.02201, allocations: 342.5 kB / 0.5737 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.02204, allocations: 24.52 kB / 0.5737 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004523/0.0225, allocations: 344.4 kB / 0.5741 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=68): time 3.336e-06/0.0225, allocations: 11.92 kB / 0.5741 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=68): time 0.001145/0.02364, allocations: 0.8215 MB / 0.5749 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.02372, allocations: 188.6 kB / 0.5751 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.02423, allocations: 0.585 MB / 0.5756 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.02428, allocations: 45.7 kB / 0.5757 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.02451, allocations: 440.6 kB / 0.5761 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.02463, allocations: 242 kB / 0.5763 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/0.02504, allocations: 150.6 kB / 0.5765 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.02517, allocations: 382.8 kB / 0.5768 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/0.02563, allocations: 330.4 kB / 0.5772 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/0.02623, allocations: 0.747 MB / 0.5779 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008187/0.02704, allocations: 0.6735 MB / 0.5785 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.02705, allocations: 0 / 0.5785 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001126/0.02817, allocations: 0.9141 MB / 0.5794 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.02821, allocations: 37.7 kB / 0.5795 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.02822, allocations: 4 kB / 0.5795 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.868e-05/0.02824, allocations: 11.98 kB / 0.5795 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.02857, allocations: 155.8 kB / 0.5796 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.02858, allocations: 11.94 kB / 0.5796 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.0289, allocations: 127.5 kB / 0.5798 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.02894, allocations: 31.98 kB / 0.5798 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004741/0.02942, allocations: 423.8 kB / 0.5802 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004655/0.02988, allocations: 0.6846 MB / 0.5809 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006002/0.03048, allocations: 0.5681 MB / 0.5814 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/0.03048, allocations: 0 / 0.5814 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.000858/0.03134, allocations: 0.8006 MB / 0.5822 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.03137, allocations: 37.7 kB / 0.5822 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.03137, allocations: 4 kB / 0.5823 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-06/0.03138, allocations: 8 kB / 0.5823 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.03164, allocations: 136.2 kB / 0.5824 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.03164, allocations: 11.94 kB / 0.5824 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.03193, allocations: 115.5 kB / 0.5825 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.03196, allocations: 31.98 kB / 0.5825 GB, free: 4.59 MB / 0.4948 GB 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.000143/0.0321, allocations: 229.6 kB / 0.5828 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.03216, allocations: 79.47 kB / 0.5828 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.03324, allocations: 0.645 MB / 0.5835 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.03325, allocations: 8 kB / 0.5835 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.03325, allocations: 0 / 0.5835 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.03326, allocations: 11.92 kB / 0.5835 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.03489, allocations: 1.42 MB / 0.5849 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.03489, allocations: 4.188 kB / 0.5849 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.03518, allocations: 135.8 kB / 0.585 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.03519, allocations: 7.938 kB / 0.585 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.03522, allocations: 19.98 kB / 0.585 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.03522, allocations: 4 kB / 0.585 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.03523, allocations: 4.219 kB / 0.585 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.03646, allocations: 1.084 MB / 0.5861 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.03655, allocations: 87.44 kB / 0.5862 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.03659, allocations: 16 kB / 0.5862 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.03677, allocations: 43.95 kB / 0.5862 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.03683, allocations: 56.3 kB / 0.5863 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.03686, allocations: 23.98 kB / 0.5863 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003483/0.0372, allocations: 398.8 kB / 0.5867 GB, free: 224 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.0372, allocations: 4 kB / 0.5867 GB, free: 220 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006341/0.03784, allocations: 358.9 kB / 0.587 GB, free: 15.86 MB / 0.5105 GB 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.0001829/0.03802, allocations: 127 kB / 0.5872 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.0394, allocations: 1.116 MB / 0.5883 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.03941, allocations: 4 kB / 0.5883 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.03977, allocations: 311 kB / 0.5886 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.04034, allocations: 173.3 kB / 0.5887 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.0423, allocations: 1.496 MB / 0.5902 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.04257, allocations: 384.4 kB / 0.5905 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.04271, allocations: 72.47 kB / 0.5906 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of SimCode: time 6.71e-07/0.04271, allocations: 3.938 kB / 0.5906 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of Templates: time 0.009921/0.05263, allocations: 10.16 MB / 0.6005 GB, free: 1.945 MB / 0.5105 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.423628973774612] Failed to read output from testmodel.py, exit status != 0: 0.05878632329404354 0.06692537700000001 0.052871908 Calling exit ...