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.001486/0.001486, 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.001649/0.001649, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.505/1.505, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.9966/0.9966, allocations: 115 MB / 375.3 MB, free: 7.57 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.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.523e-06/1.523e-06, allocations: 0 / 480.7 MB, free: 11.97 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.525e-05, allocations: 3.078 kB / 480.7 MB, free: 11.97 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004474/0.004499, allocations: 3.877 MB / 484.6 MB, free: 9.387 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003182/0.007681, allocations: 1.608 MB / 486.2 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007876/0.008468, allocations: 48.5 kB / 486.3 MB, free: 8.211 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.008973, allocations: 173.5 kB / 486.4 MB, free: 8.078 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009546/0.009928, allocations: 245.1 kB / 486.7 MB, free: 7.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.0112, allocations: 0.6707 MB / 487.3 MB, free: 7.531 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.01232, allocations: 1.241 MB / 488.6 MB, free: 6.887 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005032/0.01282, allocations: 317.3 kB / 488.9 MB, free: 6.691 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007361/0.01356, allocations: 0.6614 MB / 489.6 MB, free: 6.352 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.0139, allocations: 345.6 kB / 489.9 MB, free: 6.207 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.01405, allocations: 104.7 kB / 490 MB, free: 6.207 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.0142, allocations: 112.2 kB / 490.1 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.01434, allocations: 243.6 kB / 490.3 MB, free: 6.031 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.01458, allocations: 301.9 kB / 490.6 MB, free: 5.859 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009499/0.01553, allocations: 1.204 MB / 491.8 MB, free: 5.305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01553, allocations: 1.438 kB / 491.8 MB, free: 5.305 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01553, allocations: 0 / 491.8 MB, free: 5.305 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.01554, allocations: 1.188 kB / 491.8 MB, free: 5.305 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002233/0.01778, allocations: 1.461 MB / 493.3 MB, free: 4.383 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.01781, allocations: 10.47 kB / 493.3 MB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003526/0.01816, allocations: 189.7 kB / 493.5 MB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.01934, allocations: 0.738 MB / 494.2 MB, free: 3.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.934e-05/0.01944, allocations: 107.9 kB / 494.3 MB, free: 3.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.01955, allocations: 77.73 kB / 494.4 MB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.02073, allocations: 0.8997 MB / 495.3 MB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.02075, allocations: 192 / 495.3 MB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.02081, allocations: 35.62 kB / 495.4 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.02083, allocations: 16.41 kB / 495.4 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.02188, allocations: 0.5206 MB / 495.9 MB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/0.02484, allocations: 1.91 MB / 497.8 MB, free: 17.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.02623, allocations: 0.6113 MB / 498.4 MB, free: 17.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005217/0.02675, allocations: 261 kB / 498.7 MB, free: 17.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-05/0.0268, allocations: 11.34 kB / 498.7 MB, free: 17.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006521/0.02745, allocations: 349.7 kB / 499 MB, free: 17.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 2.054e-06/0.02746, allocations: 0.75 kB / 499 MB, free: 17.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=60): time 0.001669/0.02913, allocations: 0.7783 MB / 499.8 MB, free: 16.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.02917, allocations: 110.8 kB / 499.9 MB, free: 16.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000831/0.03, allocations: 0.6999 MB / 0.4889 GB, free: 16.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.03004, allocations: 38.33 kB / 0.4889 GB, free: 16.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.03036, allocations: 447 kB / 0.4893 GB, free: 16.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.0305, allocations: 213 kB / 0.4895 GB, free: 15.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.03069, allocations: 111.8 kB / 0.4896 GB, free: 15.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.03087, allocations: 330.8 kB / 0.49 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.03138, allocations: 210.9 kB / 0.4902 GB, free: 15.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.03193, allocations: 371 kB / 0.4905 GB, free: 15.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.03298, allocations: 0.5069 MB / 0.491 GB, free: 14.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.03298, allocations: 0.75 kB / 0.491 GB, free: 14.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001468/0.03445, allocations: 0.6805 MB / 0.4917 GB, free: 14.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.03447, allocations: 8.375 kB / 0.4917 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.03448, allocations: 2.75 kB / 0.4917 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.0345, allocations: 5.656 kB / 0.4917 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/0.03534, allocations: 151.5 kB / 0.4918 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.03535, allocations: 6.016 kB / 0.4918 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/0.03586, allocations: 61.86 kB / 0.4919 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.03591, allocations: 21.38 kB / 0.4919 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007234/0.03664, allocations: 365.4 kB / 0.4923 GB, free: 14.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000602/0.03724, allocations: 358.4 kB / 0.4926 GB, free: 14.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000997/0.03823, allocations: 0.4895 MB / 0.4931 GB, free: 13.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.03824, allocations: 2.375 kB / 0.4931 GB, free: 13.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.00137/0.03961, allocations: 0.6592 MB / 0.4937 GB, free: 13.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.03962, allocations: 4 kB / 0.4937 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.03963, allocations: 5.062 kB / 0.4937 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.03964, allocations: 4.562 kB / 0.4938 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007856/0.04042, allocations: 142.3 kB / 0.4939 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.04044, allocations: 9.422 kB / 0.4939 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.04093, allocations: 59.75 kB / 0.494 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/0.04098, allocations: 26.83 kB / 0.494 GB, free: 13.2 MB / 426.7 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.0002677/0.04125, allocations: 217.4 kB / 0.4942 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.04143, allocations: 112 kB / 0.4943 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.04165, allocations: 92.31 kB / 0.4944 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.04165, allocations: 9.391 kB / 0.4944 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.04166, allocations: 3.438 kB / 0.4944 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.04167, allocations: 2.719 kB / 0.4944 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.04416, allocations: 1.24 MB / 0.4956 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.04416, allocations: 4.703 kB / 0.4956 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/0.04478, allocations: 102.4 kB / 0.4957 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.04479, allocations: 4.094 kB / 0.4957 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/0.04484, allocations: 17.58 kB / 0.4957 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.04484, allocations: 4.609 kB / 0.4957 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.04485, allocations: 3.938 kB / 0.4957 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.04695, allocations: 0.9824 MB / 0.4967 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.04727, allocations: 140.3 kB / 0.4968 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.561e-05/0.04736, allocations: 13.84 kB / 0.4968 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/0.04787, allocations: 39.52 kB / 0.4969 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.04799, allocations: 39.44 kB / 0.4969 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/0.04805, allocations: 23.45 kB / 0.4969 GB, free: 10.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006946/0.04874, allocations: 488.5 kB / 0.4974 GB, free: 10.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04874, allocations: 0.5312 kB / 0.4974 GB, free: 10.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008518/0.04959, allocations: 296.6 kB / 0.4977 GB, free: 9.746 MB / 426.7 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.0001685/0.04976, allocations: 114.1 kB / 0.4978 GB, free: 9.629 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.05167, allocations: 0.7613 MB / 0.4985 GB, free: 8.953 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.05167, allocations: 2.719 kB / 0.4985 GB, free: 8.953 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006113/0.05228, allocations: 258.3 kB / 0.4988 GB, free: 8.723 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.05382, allocations: 279 kB / 0.4991 GB, free: 8.516 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.05691, allocations: 1.55 MB / 0.5006 GB, free: 7.039 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.05743, allocations: 406 kB / 0.501 GB, free: 6.738 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005358/0.05797, allocations: 112.7 kB / 0.5011 GB, free: 6.664 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.05818, allocations: 62.56 kB / 0.5011 GB, free: 6.605 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.05818, allocations: 0 / 0.5011 GB, free: 6.605 MB / 426.7 MB Notification: Performance of Templates: time 0.02019/0.07837, allocations: 9.846 MB / 0.5107 GB, free: 13.93 MB / 442.7 MB " [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: 6.06826294597704]