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.0009245/0.0009245, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.0009479/0.0009479, allocations: 172.9 kB / 24.84 MB, free: 9.254 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.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.6223/0.6223, allocations: 115 MB / 376.8 MB, free: 7.484 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.224e-06/2.224e-06, allocations: 0 / 482.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.578e-05, allocations: 4.172 kB / 482.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002317/0.002343, allocations: 1.86 MB / 484.7 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.004226, allocations: 1.65 MB / 486.3 MB, free: 9.312 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.004395, allocations: 14.44 kB / 486.3 MB, free: 9.309 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.004594, allocations: 87.19 kB / 486.4 MB, free: 9.246 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.004845, allocations: 96.88 kB / 486.5 MB, free: 9.172 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.005255, allocations: 317.2 kB / 486.8 MB, free: 8.988 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004755/0.00573, allocations: 0.702 MB / 487.5 MB, free: 8.621 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.00603, allocations: 217.8 kB / 487.7 MB, free: 8.504 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.006355, allocations: 404.2 kB / 488.1 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.006568, allocations: 210.7 kB / 488.3 MB, free: 8.195 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.535e-05/0.006663, allocations: 75.28 kB / 488.4 MB, free: 8.195 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.006795, allocations: 90.67 kB / 488.5 MB, free: 8.191 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.921e-05/0.006874, allocations: 144.9 kB / 488.7 MB, free: 8.086 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.007007, allocations: 197.2 kB / 488.8 MB, free: 7.973 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.007427, allocations: 489.1 kB / 489.3 MB, free: 7.684 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.00743, allocations: 0 / 489.3 MB, free: 7.684 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.007432, allocations: 1.188 kB / 489.3 MB, free: 7.684 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.007439, allocations: 0 / 489.3 MB, free: 7.684 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.001093/0.008532, allocations: 1.142 MB / 490.5 MB, free: 6.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.00857, allocations: 9.031 kB / 490.5 MB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.008694, allocations: 108.2 kB / 490.6 MB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.009039, allocations: 353.2 kB / 490.9 MB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/0.00909, allocations: 44.25 kB / 491 MB, free: 6.512 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.121e-05/0.009162, allocations: 62.33 kB / 491 MB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.009542, allocations: 416.6 kB / 491.4 MB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.009557, allocations: 192 / 491.4 MB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.009583, allocations: 26.19 kB / 491.5 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.009595, allocations: 11.72 kB / 491.5 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.009767, allocations: 139.9 kB / 491.6 MB, free: 6.254 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.01112, allocations: 1.321 MB / 492.9 MB, free: 21.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.01145, allocations: 262.8 kB / 493.2 MB, free: 21.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.01157, allocations: 118.2 kB / 493.3 MB, free: 21.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.0116, allocations: 12.06 kB / 493.3 MB, free: 21.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.01178, allocations: 167 kB / 493.5 MB, free: 21.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 2.495e-06/0.01178, allocations: 0 / 493.5 MB, free: 21.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=47): time 0.0004838/0.01227, allocations: 328.8 kB / 493.8 MB, free: 21.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.01231, allocations: 116.5 kB / 493.9 MB, free: 20.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.01252, allocations: 366.3 kB / 494.3 MB, free: 20.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.01255, allocations: 42.27 kB / 494.3 MB, free: 20.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.01269, allocations: 314.2 kB / 494.6 MB, free: 20.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/0.01275, allocations: 160.6 kB / 494.8 MB, free: 20.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.01286, allocations: 107.5 kB / 494.9 MB, free: 20.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.01301, allocations: 0.5296 MB / 495.4 MB, free: 19.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.01316, allocations: 114.6 kB / 495.5 MB, free: 19.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.01332, allocations: 338.4 kB / 495.9 MB, free: 19.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.01357, allocations: 280 kB / 496.1 MB, free: 19.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.01357, allocations: 1.156 kB / 496.1 MB, free: 19.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004413/0.01401, allocations: 431 kB / 496.5 MB, free: 18.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.01404, allocations: 41.8 kB / 496.6 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01405, allocations: 1.875 kB / 496.6 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.01406, allocations: 4.766 kB / 496.6 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.01428, allocations: 97.05 kB / 496.7 MB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.01429, allocations: 7.625 kB / 496.7 MB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.01446, allocations: 69.84 kB / 496.8 MB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.01449, allocations: 19.72 kB / 496.8 MB, free: 18.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001718/0.01466, allocations: 242.2 kB / 497 MB, free: 18.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000164/0.01483, allocations: 340.1 kB / 497.4 MB, free: 18.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002359/0.01506, allocations: 276.4 kB / 497.6 MB, free: 18.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.01506, allocations: 0 / 497.6 MB, free: 18.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0004693/0.01553, allocations: 425.7 kB / 498 MB, free: 18.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.01556, allocations: 38.86 kB / 498.1 MB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.01556, allocations: 1.5 kB / 498.1 MB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-06/0.01557, allocations: 3.875 kB / 498.1 MB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.01575, allocations: 85.45 kB / 498.2 MB, free: 17.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01576, allocations: 7.938 kB / 498.2 MB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.01592, allocations: 57.14 kB / 498.2 MB, free: 17.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.01595, allocations: 26.11 kB / 498.3 MB, free: 17.93 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,pidSca.con1.y,pidNoSca.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.0001263/0.01607, allocations: 296.7 kB / 498.5 MB, free: 17.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.01612, allocations: 64.84 kB / 498.6 MB, free: 17.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.01642, allocations: 282.1 kB / 498.9 MB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.01643, allocations: 4.656 kB / 498.9 MB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01643, allocations: 1.125 kB / 498.9 MB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.01644, allocations: 6.891 kB / 498.9 MB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008141/0.01725, allocations: 0.8103 MB / 499.7 MB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.01726, allocations: 6.125 kB / 499.7 MB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.01745, allocations: 79.72 kB / 499.8 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.01746, allocations: 3.312 kB / 499.8 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.01747, allocations: 12.72 kB / 499.8 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.01748, allocations: 4.438 kB / 499.8 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01748, allocations: 2.5 kB / 499.8 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.01792, allocations: 0.5441 MB / 0.4886 GB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.01796, allocations: 57.23 kB / 0.4887 GB, free: 16.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.01799, allocations: 12.5 kB / 0.4887 GB, free: 16.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.01809, allocations: 17.5 kB / 0.4887 GB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.01813, allocations: 31.25 kB / 0.4887 GB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.01815, allocations: 12.22 kB / 0.4888 GB, free: 16.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.01827, allocations: 237.8 kB / 0.489 GB, free: 16.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.01827, allocations: 2.031 kB / 0.489 GB, free: 16.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004219/0.0187, allocations: 214.7 kB / 0.4892 GB, free: 16.33 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.0001635/0.01886, allocations: 127.5 kB / 0.4893 GB, free: 16.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005534/0.01941, allocations: 0.5839 MB / 0.4899 GB, free: 15.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01942, allocations: 1.875 kB / 0.4899 GB, free: 15.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.01954, allocations: 126.1 kB / 0.49 GB, free: 15.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.01993, allocations: 110.4 kB / 0.4901 GB, free: 15.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000854/0.02078, allocations: 0.8495 MB / 0.4909 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.717e-05/0.02086, allocations: 123.6 kB / 0.4911 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.021, allocations: 52.55 kB / 0.4911 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.02122, allocations: 177.5 kB / 0.4913 GB, free: 15.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.021e-06/0.02122, allocations: 1.281 kB / 0.4913 GB, free: 15.14 MB / 426.7 MB Notification: Performance of Templates: time 0.01555/0.03677, allocations: 6.916 MB / 0.498 GB, free: 12.01 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.7719352752901614]