Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.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.001427/0.001427, allocations: 82.41 kB / 19.94 MB, free: 1.781 MB / 14.72 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.00134/0.00134, allocations: 162 kB / 23.21 MB, free: 4.902 MB / 14.72 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.366/1.366, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 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.8853/0.8853, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.1 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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.5546 GB, free: 2.688 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.799e-05, allocations: 4.953 kB / 0.5546 GB, free: 2.684 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005921/0.005949, allocations: 3.885 MB / 0.5584 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.009245, allocations: 1.612 MB / 0.56 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006451/0.00989, allocations: 47.62 kB / 0.56 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.01033, allocations: 170.2 kB / 0.5602 GB, free: 12.95 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006583/0.01099, allocations: 246 kB / 0.5604 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.01238, allocations: 0.6764 MB / 0.5611 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.01373, allocations: 1.245 MB / 0.5623 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005655/0.01429, allocations: 316.8 kB / 0.5626 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008947/0.01519, allocations: 0.67 MB / 0.5633 GB, free: 9.793 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000441/0.01563, allocations: 342.7 kB / 0.5636 GB, free: 9.457 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.01579, allocations: 104 kB / 0.5637 GB, free: 9.355 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.01596, allocations: 104 kB / 0.5638 GB, free: 9.254 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.01617, allocations: 247 kB / 0.564 GB, free: 9.012 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003142/0.01648, allocations: 307 kB / 0.5643 GB, free: 8.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.01781, allocations: 1.199 MB / 0.5655 GB, free: 7.508 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.01781, allocations: 0 / 0.5655 GB, free: 7.508 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01782, allocations: 0 / 0.5655 GB, free: 7.508 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.01783, allocations: 4 kB / 0.5655 GB, free: 7.504 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002566/0.02039, allocations: 1.457 MB / 0.5669 GB, free: 6.008 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.02044, allocations: 8.625 kB / 0.5669 GB, free: 6 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003364/0.02077, allocations: 144.1 kB / 0.5671 GB, free: 5.859 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.02211, allocations: 0.6905 MB / 0.5677 GB, free: 5.141 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.02224, allocations: 110 kB / 0.5678 GB, free: 5.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.02234, allocations: 76.31 kB / 0.5679 GB, free: 4.945 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.02382, allocations: 0.8926 MB / 0.5688 GB, free: 3.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.02383, allocations: 192 / 0.5688 GB, free: 3.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.942e-05/0.0239, allocations: 36.12 kB / 0.5688 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.02392, allocations: 16 kB / 0.5688 GB, free: 3.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.02516, allocations: 0.5243 MB / 0.5693 GB, free: 3.406 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.02861, allocations: 1.882 MB / 0.5712 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.03021, allocations: 0.595 MB / 0.5718 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005691/0.03078, allocations: 266.1 kB / 0.572 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.378e-05/0.03083, allocations: 8.5 kB / 0.572 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007524/0.03159, allocations: 343.9 kB / 0.5724 GB, free: 252 kB / 478.1 MB Notification: Performance of pre-optimization done (n=60): time 3.146e-06/0.03159, allocations: 0 / 0.5724 GB, free: 252 kB / 478.1 MB Notification: Performance of matching and sorting (n=60): time 0.001932/0.03352, allocations: 0.7661 MB / 0.5731 GB, free: 15.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/0.03361, allocations: 107.3 kB / 0.5732 GB, free: 15.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009883/0.0346, allocations: 0.7004 MB / 0.5739 GB, free: 14.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.918e-05/0.03466, allocations: 41.69 kB / 0.5739 GB, free: 14.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004479/0.03511, allocations: 448.8 kB / 0.5744 GB, free: 14.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.03533, allocations: 218.1 kB / 0.5746 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.03553, allocations: 118.3 kB / 0.5747 GB, free: 13.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.0357, allocations: 333.9 kB / 0.575 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.03625, allocations: 211.4 kB / 0.5752 GB, free: 13.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/0.03691, allocations: 364.1 kB / 0.5755 GB, free: 12.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.03809, allocations: 0.5048 MB / 0.576 GB, free: 12.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.0381, allocations: 4 kB / 0.576 GB, free: 12.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001534/0.03963, allocations: 0.6608 MB / 0.5767 GB, free: 11.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.03966, allocations: 8 kB / 0.5767 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.03967, allocations: 4 kB / 0.5767 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.03969, allocations: 4 kB / 0.5767 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008779/0.04057, allocations: 147.8 kB / 0.5768 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.04058, allocations: 8 kB / 0.5769 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/0.04111, allocations: 59.64 kB / 0.5769 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.54e-05/0.0412, allocations: 24 kB / 0.5769 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007601/0.04196, allocations: 368.6 kB / 0.5773 GB, free: 11.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005908/0.04255, allocations: 348.8 kB / 0.5776 GB, free: 10.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001005/0.04356, allocations: 0.4969 MB / 0.5781 GB, free: 10.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.444e-06/0.04356, allocations: 4 kB / 0.5781 GB, free: 10.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001391/0.04495, allocations: 0.6294 MB / 0.5787 GB, free: 9.496 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.04497, allocations: 7.984 kB / 0.5787 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.04497, allocations: 4 kB / 0.5787 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.04498, allocations: 4 kB / 0.5787 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007986/0.04578, allocations: 140 kB / 0.5789 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.04579, allocations: 15.92 kB / 0.5789 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/0.04628, allocations: 59.7 kB / 0.5789 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.04633, allocations: 20 kB / 0.579 GB, free: 9.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0002631/0.0466, allocations: 231.9 kB / 0.5792 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.04673, allocations: 91.39 kB / 0.5793 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.04697, allocations: 96.55 kB / 0.5794 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.04698, allocations: 7.938 kB / 0.5794 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.04699, allocations: 7.938 kB / 0.5794 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.04699, allocations: 0 / 0.5794 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.04951, allocations: 1.238 MB / 0.5806 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.04951, allocations: 0 / 0.5806 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/0.05012, allocations: 107.9 kB / 0.5807 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.05012, allocations: 0 / 0.5807 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.05016, allocations: 12 kB / 0.5807 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.05017, allocations: 7.984 kB / 0.5807 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.05017, allocations: 0 / 0.5807 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.05218, allocations: 0.9742 MB / 0.5817 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.05246, allocations: 139.2 kB / 0.5818 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.534e-05/0.05256, allocations: 12 kB / 0.5818 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/0.05307, allocations: 39.95 kB / 0.5818 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.05317, allocations: 40.36 kB / 0.5819 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.05322, allocations: 16 kB / 0.5819 GB, free: 6.176 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006661/0.05388, allocations: 495 kB / 0.5824 GB, free: 5.699 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.05388, allocations: 0 / 0.5824 GB, free: 5.699 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007864/0.05467, allocations: 291.1 kB / 0.5826 GB, free: 5.414 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0001571/0.05483, allocations: 113.3 kB / 0.5828 GB, free: 5.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.05665, allocations: 0.7607 MB / 0.5835 GB, free: 4.539 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.05665, allocations: 4 kB / 0.5835 GB, free: 4.535 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006272/0.05728, allocations: 259.4 kB / 0.5837 GB, free: 4.285 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.05848, allocations: 261.3 kB / 0.584 GB, free: 4.043 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.06134, allocations: 1.507 MB / 0.5855 GB, free: 2.496 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.06175, allocations: 405.7 kB / 0.5859 GB, free: 2.066 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004605/0.06221, allocations: 122.1 kB / 0.586 GB, free: 1.945 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.06242, allocations: 64.48 kB / 0.586 GB, free: 1.883 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.06242, allocations: 0 / 0.586 GB, free: 1.883 MB / 494.1 MB Notification: Performance of Templates: time 0.01986/0.08228, allocations: 9.804 MB / 0.5956 GB, free: 8.309 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.363050598651171] Failed to read output from testmodel.py, exit status != 0: 0.09128091856837273 0.106260507 0.08534731200000001 Calling exit ...