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.00148/0.00148, allocations: 96.2 kB / 20.43 MB, free: 4.133 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.001096/0.001096, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9868/0.9868, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.6387/0.6387, allocations: 115 MB / 375.7 MB, free: 7.637 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.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 3.105e-06/3.105e-06, allocations: 0 / 481.6 MB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/3.06e-05, allocations: 7.531 kB / 481.6 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.005833/0.005863, allocations: 1.931 MB / 483.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005198/0.01106, allocations: 1.654 MB / 485.2 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.01135, allocations: 8.688 kB / 485.2 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.01159, allocations: 88.72 kB / 485.3 MB, free: 9.383 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.01194, allocations: 104.8 kB / 485.4 MB, free: 9.305 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.01257, allocations: 319.7 kB / 485.7 MB, free: 9.117 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005699/0.01314, allocations: 0.7038 MB / 486.4 MB, free: 8.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002024/0.01516, allocations: 212.7 kB / 486.6 MB, free: 8.637 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.01563, allocations: 401.2 kB / 487 MB, free: 8.422 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.01584, allocations: 209.3 kB / 487.2 MB, free: 8.332 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.779e-05/0.01593, allocations: 76.47 kB / 487.3 MB, free: 8.332 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.01606, allocations: 90.42 kB / 487.3 MB, free: 8.328 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.01612, allocations: 145.3 kB / 487.5 MB, free: 8.227 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.01625, allocations: 205.9 kB / 487.7 MB, free: 8.105 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.01669, allocations: 485.3 kB / 488.2 MB, free: 7.816 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.01669, allocations: 0.8125 kB / 488.2 MB, free: 7.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.01669, allocations: 0 / 488.2 MB, free: 7.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.01671, allocations: 1.625 kB / 488.2 MB, free: 7.816 MB / 410.7 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.001059/0.01776, allocations: 1.129 MB / 489.3 MB, free: 7.008 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.0178, allocations: 8.375 kB / 489.3 MB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.01793, allocations: 103.8 kB / 489.4 MB, free: 6.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.0183, allocations: 363.2 kB / 489.8 MB, free: 6.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.01834, allocations: 39.47 kB / 489.8 MB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.01841, allocations: 71.05 kB / 489.9 MB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.01887, allocations: 446.9 kB / 490.3 MB, free: 6.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.01888, allocations: 192 / 490.3 MB, free: 6.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.01891, allocations: 25.8 kB / 490.3 MB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.01892, allocations: 14.03 kB / 490.3 MB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.01918, allocations: 181.5 kB / 490.5 MB, free: 6.363 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.02058, allocations: 1.371 MB / 491.9 MB, free: 21.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.02095, allocations: 289.9 kB / 492.2 MB, free: 21.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.0211, allocations: 138.5 kB / 492.3 MB, free: 21.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.02113, allocations: 8.219 kB / 492.3 MB, free: 21.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.02134, allocations: 179.3 kB / 492.5 MB, free: 21.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 1.964e-06/0.02134, allocations: 0 / 492.5 MB, free: 21.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=47): time 0.0004969/0.02184, allocations: 373.3 kB / 492.9 MB, free: 21.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.02187, allocations: 114.4 kB / 493 MB, free: 20.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.02212, allocations: 377.1 kB / 493.3 MB, free: 20.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.02215, allocations: 40.98 kB / 493.4 MB, free: 20.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.02227, allocations: 306.9 kB / 493.7 MB, free: 20.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.208e-05/0.02234, allocations: 163.4 kB / 493.8 MB, free: 20.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.02244, allocations: 109 kB / 493.9 MB, free: 20.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.02257, allocations: 0.518 MB / 494.5 MB, free: 19.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.02277, allocations: 138.9 kB / 494.6 MB, free: 19.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.02297, allocations: 362.7 kB / 494.9 MB, free: 19.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.02327, allocations: 308.4 kB / 495.2 MB, free: 19.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.02327, allocations: 1.125 kB / 495.2 MB, free: 19.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005156/0.02379, allocations: 478.6 kB / 495.7 MB, free: 18.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.02382, allocations: 40.3 kB / 495.8 MB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.02382, allocations: 4.703 kB / 495.8 MB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.02384, allocations: 5.531 kB / 495.8 MB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.02407, allocations: 95.77 kB / 495.9 MB, free: 18.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.02408, allocations: 7.812 kB / 495.9 MB, free: 18.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.02425, allocations: 65.59 kB / 495.9 MB, free: 18.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.02428, allocations: 23.53 kB / 496 MB, free: 18.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002109/0.02449, allocations: 256.6 kB / 496.2 MB, free: 18.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002058/0.0247, allocations: 358.4 kB / 496.6 MB, free: 18.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002742/0.02497, allocations: 299.9 kB / 496.8 MB, free: 18.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.02497, allocations: 6.047 kB / 496.9 MB, free: 18.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0004741/0.02545, allocations: 467.5 kB / 497.3 MB, free: 17.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.02547, allocations: 37.17 kB / 497.3 MB, free: 17.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.02547, allocations: 1.938 kB / 497.3 MB, free: 17.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/0.02548, allocations: 10.16 kB / 497.4 MB, free: 17.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.02566, allocations: 85.05 kB / 497.4 MB, free: 17.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.02567, allocations: 7.281 kB / 497.4 MB, free: 17.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.02581, allocations: 59.31 kB / 497.5 MB, free: 17.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.02583, allocations: 21.16 kB / 497.5 MB, free: 17.88 MB / 426.7 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.0001235/0.02596, allocations: 301.3 kB / 497.8 MB, free: 17.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.026, allocations: 57.09 kB / 497.9 MB, free: 17.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/0.02635, allocations: 305.8 kB / 498.2 MB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.02635, allocations: 6.125 kB / 498.2 MB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.02636, allocations: 4.938 kB / 498.2 MB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.02636, allocations: 3.281 kB / 498.2 MB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008448/0.02721, allocations: 0.9041 MB / 499.1 MB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.02721, allocations: 5.375 kB / 499.1 MB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.0274, allocations: 76.81 kB / 499.2 MB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.0274, allocations: 3.406 kB / 499.2 MB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.02742, allocations: 12.12 kB / 499.2 MB, free: 16.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.02742, allocations: 3.438 kB / 499.2 MB, free: 16.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.02743, allocations: 1.156 kB / 499.2 MB, free: 16.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.02794, allocations: 0.5923 MB / 499.8 MB, free: 16.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.02798, allocations: 48.59 kB / 499.8 MB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.02801, allocations: 9.219 kB / 499.8 MB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.02811, allocations: 21.05 kB / 499.9 MB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.02816, allocations: 34.05 kB / 499.9 MB, free: 16.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.02818, allocations: 22.41 kB / 499.9 MB, free: 16.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001692/0.02835, allocations: 254.2 kB / 0.4884 GB, free: 16.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02835, allocations: 0.5625 kB / 0.4884 GB, free: 16.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004186/0.02876, allocations: 216 kB / 0.4886 GB, free: 16.18 MB / 426.7 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.0001478/0.02891, allocations: 119.6 kB / 0.4888 GB, free: 16.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006586/0.02957, allocations: 0.6288 MB / 0.4894 GB, free: 15.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02957, allocations: 0 / 0.4894 GB, free: 15.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.02972, allocations: 143.6 kB / 0.4895 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.03011, allocations: 100.8 kB / 0.4896 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008993/0.03101, allocations: 0.867 MB / 0.4905 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.917e-05/0.03109, allocations: 128.4 kB / 0.4906 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.03122, allocations: 50.67 kB / 0.4906 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.792e-05/0.0313, allocations: 41.16 kB / 0.4907 GB, free: 15.02 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0313, allocations: 0 / 0.4907 GB, free: 15.02 MB / 426.7 MB Notification: Performance of Templates: time 0.009495/0.0408, allocations: 6.182 MB / 0.4967 GB, free: 12.25 MB / 426.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8814992951229215]