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.001021/0.001021, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009859/0.0009859, allocations: 169 kB / 24.05 MB, free: 452 kB / 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.9904/0.9904, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.6264/0.6264, allocations: 115 MB / 376 MB, free: 7.449 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 1.904e-06/1.904e-06, allocations: 0.5469 kB / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.891e-05, allocations: 5.375 kB / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002099/0.002128, allocations: 1.851 MB / 483.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.004059, allocations: 1.658 MB / 485.5 MB, free: 9.289 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.004375, allocations: 12.91 kB / 485.6 MB, free: 9.285 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.004608, allocations: 84.23 kB / 485.6 MB, free: 9.223 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.004915, allocations: 106.2 kB / 485.7 MB, free: 9.145 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.005494, allocations: 315.2 kB / 486.1 MB, free: 8.961 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007169/0.006211, allocations: 0.6962 MB / 486.7 MB, free: 8.598 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/0.006586, allocations: 221 kB / 487 MB, free: 8.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.007052, allocations: 405.1 kB / 487.4 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.007268, allocations: 207.7 kB / 487.6 MB, free: 8.172 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.529e-05/0.007364, allocations: 75.62 kB / 487.6 MB, free: 8.172 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.007497, allocations: 88.58 kB / 487.7 MB, free: 8.168 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.007573, allocations: 145 kB / 487.9 MB, free: 8.066 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.007693, allocations: 202.5 kB / 488.1 MB, free: 7.949 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.008123, allocations: 479.6 kB / 488.5 MB, free: 7.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.008127, allocations: 0 / 488.5 MB, free: 7.664 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.008128, allocations: 0 / 488.5 MB, free: 7.664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.008137, allocations: 1.281 kB / 488.5 MB, free: 7.664 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.001336/0.009473, allocations: 1.15 MB / 489.7 MB, free: 22.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.009518, allocations: 9.875 kB / 489.7 MB, free: 22.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.009699, allocations: 107.3 kB / 489.8 MB, free: 22.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.0101, allocations: 352.3 kB / 490.1 MB, free: 22.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.01014, allocations: 45.53 kB / 490.2 MB, free: 22.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/0.01021, allocations: 64.77 kB / 490.2 MB, free: 22.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.01065, allocations: 417.3 kB / 490.7 MB, free: 22.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.01066, allocations: 192 / 490.7 MB, free: 22.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.01069, allocations: 22.47 kB / 490.7 MB, free: 22.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.01071, allocations: 13.44 kB / 490.7 MB, free: 22.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.0109, allocations: 146.5 kB / 490.8 MB, free: 22.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.01228, allocations: 1.311 MB / 492.1 MB, free: 21.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.01263, allocations: 269.3 kB / 492.4 MB, free: 21.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.01275, allocations: 117.9 kB / 492.5 MB, free: 21.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.01279, allocations: 13.88 kB / 492.5 MB, free: 21.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.01297, allocations: 165.3 kB / 492.7 MB, free: 21.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 1.714e-06/0.01298, allocations: 1.312 kB / 492.7 MB, free: 21.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=47): time 0.0004144/0.01339, allocations: 324.3 kB / 493 MB, free: 21.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.01343, allocations: 118 kB / 493.1 MB, free: 20.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.01367, allocations: 371.4 kB / 493.5 MB, free: 20.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.0137, allocations: 39.23 kB / 493.5 MB, free: 20.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.01386, allocations: 308.3 kB / 493.8 MB, free: 20.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.82e-05/0.01392, allocations: 163.2 kB / 494 MB, free: 20.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.01404, allocations: 107.9 kB / 494.1 MB, free: 20.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.01419, allocations: 0.5283 MB / 494.6 MB, free: 19.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.01436, allocations: 116.2 kB / 494.7 MB, free: 19.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.01454, allocations: 340.2 kB / 495.1 MB, free: 19.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.01481, allocations: 280.3 kB / 495.3 MB, free: 19.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.01481, allocations: 1.188 kB / 495.3 MB, free: 19.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004533/0.01526, allocations: 433.2 kB / 495.8 MB, free: 18.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.0153, allocations: 40.23 kB / 495.8 MB, free: 18.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.0153, allocations: 3 kB / 495.8 MB, free: 18.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.01532, allocations: 3.969 kB / 495.8 MB, free: 18.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.01554, allocations: 92.53 kB / 495.9 MB, free: 18.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01554, allocations: 12.02 kB / 495.9 MB, free: 18.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.01572, allocations: 72.64 kB / 496 MB, free: 18.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.01574, allocations: 19.64 kB / 496 MB, free: 18.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001813/0.01592, allocations: 239.9 kB / 496.2 MB, free: 18.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001534/0.01607, allocations: 336.3 kB / 496.6 MB, free: 18.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002038/0.01628, allocations: 269.8 kB / 496.8 MB, free: 18.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.01628, allocations: 1.062 kB / 496.8 MB, free: 18.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0004208/0.0167, allocations: 428.4 kB / 497.3 MB, free: 17.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.01673, allocations: 40.52 kB / 497.3 MB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01673, allocations: 2.219 kB / 497.3 MB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.413e-06/0.01674, allocations: 6.797 kB / 497.3 MB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.01693, allocations: 80.88 kB / 497.4 MB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01693, allocations: 8.688 kB / 497.4 MB, free: 17.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.01709, allocations: 67.55 kB / 497.5 MB, free: 17.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.01711, allocations: 20.22 kB / 497.5 MB, free: 17.9 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.0001971/0.01731, allocations: 299.1 kB / 497.8 MB, free: 17.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.01737, allocations: 57.78 kB / 497.8 MB, free: 17.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.01774, allocations: 282.3 kB / 498.1 MB, free: 17.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.01775, allocations: 12.86 kB / 498.1 MB, free: 17.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.01776, allocations: 0 / 498.1 MB, free: 17.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.01776, allocations: 3.938 kB / 498.1 MB, free: 17.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008512/0.01862, allocations: 0.8113 MB / 498.9 MB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.01862, allocations: 5.062 kB / 498.9 MB, free: 16.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.01881, allocations: 83.19 kB / 499 MB, free: 16.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.01882, allocations: 4.375 kB / 499 MB, free: 16.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.01883, allocations: 8.781 kB / 499 MB, free: 16.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.01884, allocations: 11.36 kB / 499 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.01884, allocations: 1.969 kB / 499 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.01931, allocations: 0.5449 MB / 499.6 MB, free: 16.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.01936, allocations: 52.12 kB / 499.6 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.01939, allocations: 9.344 kB / 499.6 MB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.01948, allocations: 19.55 kB / 499.7 MB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.01953, allocations: 28.66 kB / 499.7 MB, free: 16.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.01955, allocations: 15.7 kB / 499.7 MB, free: 16.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001573/0.0197, allocations: 239.6 kB / 499.9 MB, free: 16.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0197, allocations: 1.062 kB / 499.9 MB, free: 16.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004949/0.0202, allocations: 211 kB / 0.4884 GB, free: 16.3 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.0001877/0.02039, allocations: 123.9 kB / 0.4885 GB, free: 16.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005799/0.02097, allocations: 0.5891 MB / 0.4891 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.02097, allocations: 2.438 kB / 0.4891 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.02109, allocations: 129.8 kB / 0.4892 GB, free: 15.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.02147, allocations: 95.69 kB / 0.4893 GB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.0225, allocations: 0.8574 MB / 0.4902 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.477e-05/0.02259, allocations: 121.1 kB / 0.4903 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.02275, allocations: 50.16 kB / 0.4903 GB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.02298, allocations: 179 kB / 0.4905 GB, free: 15.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.02298, allocations: 0 / 0.4905 GB, free: 15.12 MB / 426.7 MB Notification: Performance of Templates: time 0.01125/0.03424, allocations: 6.743 MB / 0.4971 GB, free: 12.18 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.757478006184101]