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.00141/0.00141, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.001596/0.001596, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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 1.656/1.656, allocations: 177.2 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.933/0.933, allocations: 115 MB / 375.3 MB, free: 7.543 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 2.364e-06/2.364e-06, allocations: 4.703 kB / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.355e-05, allocations: 2.312 kB / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002814/0.002848, allocations: 1.812 MB / 482.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.005186, allocations: 1.626 MB / 484.3 MB, free: 9.484 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.005424, allocations: 12.69 kB / 484.3 MB, free: 9.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.005666, allocations: 83.36 kB / 484.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.005998, allocations: 100.3 kB / 484.5 MB, free: 9.348 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.006657, allocations: 312.4 kB / 484.8 MB, free: 9.164 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006893/0.007346, allocations: 0.6969 MB / 485.5 MB, free: 8.801 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003887/0.007735, allocations: 221.1 kB / 485.7 MB, free: 8.676 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004106/0.008145, allocations: 402.9 kB / 486.1 MB, free: 8.457 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.008382, allocations: 210.1 kB / 486.3 MB, free: 8.367 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.008499, allocations: 77.78 kB / 486.4 MB, free: 8.367 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.008651, allocations: 83.78 kB / 486.5 MB, free: 8.367 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.315e-05/0.008744, allocations: 152.7 kB / 486.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.00892, allocations: 203 kB / 486.8 MB, free: 8.141 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007367/0.009657, allocations: 0.8742 MB / 487.7 MB, free: 7.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.009662, allocations: 1.312 kB / 487.7 MB, free: 7.781 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.009663, allocations: 0 / 487.7 MB, free: 7.781 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.009672, allocations: 0.6875 kB / 487.7 MB, free: 7.781 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.001579/0.01125, allocations: 1.022 MB / 488.7 MB, free: 7.102 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.01129, allocations: 11.25 kB / 488.7 MB, free: 7.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.01147, allocations: 105.9 kB / 488.8 MB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005549/0.01202, allocations: 357.7 kB / 489.2 MB, free: 6.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/0.01207, allocations: 42.09 kB / 489.2 MB, free: 6.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-05/0.01216, allocations: 63.83 kB / 489.3 MB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008053/0.01297, allocations: 0.5456 MB / 489.8 MB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.01298, allocations: 192 / 489.8 MB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.01302, allocations: 22.78 kB / 489.8 MB, free: 6.449 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.01303, allocations: 12.09 kB / 489.8 MB, free: 6.449 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006424/0.01367, allocations: 349.4 kB / 490.2 MB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.0158, allocations: 1.281 MB / 491.5 MB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000817/0.01662, allocations: 405.5 kB / 491.9 MB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.01699, allocations: 218.1 kB / 492.1 MB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.01704, allocations: 11.98 kB / 492.1 MB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004471/0.01748, allocations: 241.4 kB / 492.3 MB, free: 5.184 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 1.953e-06/0.01749, allocations: 0 / 492.3 MB, free: 5.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=47): time 0.001132/0.01862, allocations: 0.5367 MB / 492.9 MB, free: 4.973 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.01868, allocations: 113.1 kB / 493 MB, free: 4.844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/0.01918, allocations: 351.8 kB / 493.3 MB, free: 20.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.01922, allocations: 37.64 kB / 493.4 MB, free: 20.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.01941, allocations: 271.5 kB / 493.6 MB, free: 20.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.399e-05/0.01951, allocations: 160.3 kB / 493.8 MB, free: 20.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.01967, allocations: 101.4 kB / 493.9 MB, free: 20.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.01989, allocations: 353.8 kB / 494.2 MB, free: 19.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.0203, allocations: 218.2 kB / 494.4 MB, free: 19.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005152/0.02082, allocations: 413.2 kB / 494.8 MB, free: 19.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007155/0.02153, allocations: 436.3 kB / 495.3 MB, free: 19.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.02153, allocations: 2.688 kB / 495.3 MB, free: 19.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001101/0.02264, allocations: 0.6231 MB / 495.9 MB, free: 18.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.02267, allocations: 41.95 kB / 495.9 MB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.02268, allocations: 2.844 kB / 495.9 MB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.941e-05/0.02272, allocations: 3.875 kB / 495.9 MB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.02313, allocations: 96.47 kB / 496 MB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.02314, allocations: 12.41 kB / 496 MB, free: 18.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004281/0.02357, allocations: 84.81 kB / 496.1 MB, free: 18.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.02361, allocations: 18.56 kB / 496.1 MB, free: 18.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004886/0.0241, allocations: 313.5 kB / 496.4 MB, free: 18.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003792/0.02448, allocations: 393.9 kB / 496.8 MB, free: 18.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005335/0.02502, allocations: 388.1 kB / 497.2 MB, free: 18.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.415e-06/0.02502, allocations: 5.141 kB / 497.2 MB, free: 18.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0008791/0.0259, allocations: 0.5746 MB / 497.8 MB, free: 17.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.02592, allocations: 37.17 kB / 497.8 MB, free: 17.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.02593, allocations: 6 kB / 497.8 MB, free: 17.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-06/0.02593, allocations: 4.5 kB / 497.8 MB, free: 17.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.02625, allocations: 85.86 kB / 497.9 MB, free: 17.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.02626, allocations: 10.7 kB / 497.9 MB, free: 17.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.02663, allocations: 76.12 kB / 498 MB, free: 17.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.02666, allocations: 18.41 kB / 498 MB, free: 17.66 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.0002003/0.02686, allocations: 213.1 kB / 498.2 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.02694, allocations: 57 kB / 498.3 MB, free: 17.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007716/0.02771, allocations: 431.4 kB / 498.7 MB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.02772, allocations: 6.812 kB / 498.7 MB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.02772, allocations: 3.938 kB / 498.7 MB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.02773, allocations: 3.328 kB / 498.7 MB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.02923, allocations: 0.9818 MB / 499.7 MB, free: 16.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.02924, allocations: 7.156 kB / 499.7 MB, free: 16.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.02959, allocations: 86.73 kB / 499.8 MB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.02959, allocations: 4.344 kB / 499.8 MB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.02962, allocations: 13.03 kB / 499.8 MB, free: 16.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.02963, allocations: 4.594 kB / 499.8 MB, free: 16.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.02963, allocations: 4.328 kB / 499.8 MB, free: 16.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.0307, allocations: 0.732 MB / 0.4888 GB, free: 16.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.03076, allocations: 49.14 kB / 0.4889 GB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.03081, allocations: 13.88 kB / 0.4889 GB, free: 16.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.03103, allocations: 21.84 kB / 0.4889 GB, free: 16.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.0311, allocations: 30.39 kB / 0.4889 GB, free: 16.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.03113, allocations: 23.22 kB / 0.489 GB, free: 16.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002469/0.03137, allocations: 243.7 kB / 0.4892 GB, free: 16.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03137, allocations: 0 / 0.4892 GB, free: 16.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006839/0.03206, allocations: 215.7 kB / 0.4894 GB, free: 15.96 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.0001964/0.03225, allocations: 127.5 kB / 0.4895 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.03355, allocations: 0.7809 MB / 0.4903 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.03355, allocations: 2.094 kB / 0.4903 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.03386, allocations: 179.5 kB / 0.4904 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.03446, allocations: 95.39 kB / 0.4905 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.03582, allocations: 0.9377 MB / 0.4915 GB, free: 14.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.03608, allocations: 250.2 kB / 0.4917 GB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000208/0.03629, allocations: 51.77 kB / 0.4917 GB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.03642, allocations: 38.89 kB / 0.4918 GB, free: 14.66 MB / 426.7 MB Notification: Performance of SimCode: time 4.9e-07/0.03642, allocations: 0 / 0.4918 GB, free: 14.66 MB / 426.7 MB Notification: Performance of Templates: time 0.01449/0.0509, allocations: 6.19 MB / 0.4978 GB, free: 10.94 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=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.884970688028261]