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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 104.3 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 188.9 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.789/0.789, allocations: 126.7 MB / 417.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 75.88 kB / 0.4957 GB, free: 2.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.355, allocations: 78.85 MB / 0.5727 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005145/0.3602, allocations: 4.322 MB / 0.577 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.364, allocations: 1.582 MB / 0.5785 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009275/0.365, allocations: 36.44 kB / 0.5785 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.3655, allocations: 165.1 kB / 0.5787 GB, free: 26.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007328/0.3662, allocations: 224.1 kB / 0.5789 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.3676, allocations: 0.6772 MB / 0.5796 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.3687, allocations: 1.214 MB / 0.5808 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006688/0.3694, allocations: 0.5047 MB / 0.5813 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005359/0.3699, allocations: 459.4 kB / 0.5817 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/0.3703, allocations: 454.3 kB / 0.5821 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.3705, allocations: 102.4 kB / 0.5822 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.3706, allocations: 106.3 kB / 0.5823 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.3707, allocations: 235.9 kB / 0.5825 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.371, allocations: 491.8 kB / 0.583 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007643/0.3718, allocations: 1.115 MB / 0.5841 GB, free: 22.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3718, allocations: 1.188 kB / 0.5841 GB, free: 22.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3718, allocations: 0 / 0.5841 GB, free: 22.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3718, allocations: 4.531 kB / 0.5841 GB, free: 22.75 MB / 446.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.002095/0.3739, allocations: 1.394 MB / 0.5855 GB, free: 21.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.374, allocations: 9.219 kB / 0.5855 GB, free: 21.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.3742, allocations: 123.2 kB / 0.5856 GB, free: 21.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009552/0.3751, allocations: 0.7277 MB / 0.5863 GB, free: 21.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.93e-05/0.3752, allocations: 86.97 kB / 0.5864 GB, free: 20.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.579e-05/0.3753, allocations: 74.53 kB / 0.5865 GB, free: 20.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.3764, allocations: 0.7345 MB / 0.5872 GB, free: 20.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.3764, allocations: 3.938 kB / 0.5872 GB, free: 20.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.3765, allocations: 26.88 kB / 0.5872 GB, free: 20.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.3765, allocations: 17.59 kB / 0.5872 GB, free: 20.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.3776, allocations: 0.5136 MB / 0.5877 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/0.3804, allocations: 2.27 MB / 0.5899 GB, free: 18.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.3818, allocations: 0.6176 MB / 0.5905 GB, free: 18.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.3823, allocations: 273.9 kB / 0.5908 GB, free: 18.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.3823, allocations: 15.31 kB / 0.5908 GB, free: 18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006426/0.383, allocations: 323.7 kB / 0.5911 GB, free: 17.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.534e-06/0.383, allocations: 0.8438 kB / 0.5911 GB, free: 17.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001545/0.3846, allocations: 0.7549 MB / 0.5919 GB, free: 17.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3846, allocations: 85.48 kB / 0.592 GB, free: 17.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008071/0.3854, allocations: 0.7503 MB / 0.5927 GB, free: 16.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.3855, allocations: 41.55 kB / 0.5927 GB, free: 16.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.3857, allocations: 444.6 kB / 0.5932 GB, free: 16.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3858, allocations: 207.1 kB / 0.5933 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.386, allocations: 110.2 kB / 0.5935 GB, free: 16.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.3861, allocations: 331.9 kB / 0.5938 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/0.3865, allocations: 211.3 kB / 0.594 GB, free: 15.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.3869, allocations: 304.7 kB / 0.5943 GB, free: 15.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/0.3877, allocations: 0.5048 MB / 0.5948 GB, free: 14.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3877, allocations: 0 / 0.5948 GB, free: 14.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001044/0.3888, allocations: 0.6579 MB / 0.5954 GB, free: 14.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3888, allocations: 6.344 kB / 0.5954 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3888, allocations: 4.25 kB / 0.5954 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.3889, allocations: 11.98 kB / 0.5954 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/0.3895, allocations: 147.7 kB / 0.5956 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3895, allocations: 7.938 kB / 0.5956 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.3899, allocations: 75.34 kB / 0.5956 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.39, allocations: 20 kB / 0.5957 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005042/0.3905, allocations: 361.4 kB / 0.596 GB, free: 13.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003735/0.3909, allocations: 284.5 kB / 0.5963 GB, free: 13.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007104/0.3916, allocations: 499.7 kB / 0.5968 GB, free: 12.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.195e-06/0.3916, allocations: 0 / 0.5968 GB, free: 12.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009268/0.3925, allocations: 0.6267 MB / 0.5974 GB, free: 12.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.3925, allocations: 8 kB / 0.5974 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.3925, allocations: 0 / 0.5974 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.3926, allocations: 11.98 kB / 0.5974 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.3931, allocations: 139.8 kB / 0.5975 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3931, allocations: 8 kB / 0.5975 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.3935, allocations: 55.7 kB / 0.5976 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.3936, allocations: 23.98 kB / 0.5976 GB, free: 11.93 MB / 446.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.0001564/0.3937, allocations: 216.1 kB / 0.5978 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-05/0.3938, allocations: 94.78 kB / 0.5979 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.394, allocations: 101.2 kB / 0.598 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.394, allocations: 8 kB / 0.598 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.394, allocations: 3.938 kB / 0.598 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.3941, allocations: 3.984 kB / 0.598 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.3958, allocations: 1.442 MB / 0.5994 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3958, allocations: 0 / 0.5994 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.3963, allocations: 115.8 kB / 0.5995 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3963, allocations: 0 / 0.5995 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.3964, allocations: 15.98 kB / 0.5995 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3964, allocations: 4 kB / 0.5995 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3964, allocations: 0 / 0.5995 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.3978, allocations: 0.9626 MB / 0.6005 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.398, allocations: 219.7 kB / 0.6007 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.774e-05/0.3981, allocations: 15.98 kB / 0.6007 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.3985, allocations: 31.97 kB / 0.6007 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/0.3986, allocations: 36.52 kB / 0.6008 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.3986, allocations: 19.98 kB / 0.6008 GB, free: 8.551 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004548/0.3991, allocations: 0.5185 MB / 0.6013 GB, free: 8.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3991, allocations: 0 / 0.6013 GB, free: 8.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006103/0.3997, allocations: 275 kB / 0.6016 GB, free: 7.77 MB / 446.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.000112/0.3998, allocations: 115.1 kB / 0.6017 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.4014, allocations: 0.8237 MB / 0.6025 GB, free: 6.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4014, allocations: 0 / 0.6025 GB, free: 6.824 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.4018, allocations: 271.2 kB / 0.6027 GB, free: 6.559 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.4029, allocations: 277.5 kB / 0.603 GB, free: 6.305 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.4048, allocations: 1.563 MB / 0.6045 GB, free: 4.711 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.4052, allocations: 0.9937 MB / 0.6055 GB, free: 3.691 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004232/0.4056, allocations: 114.7 kB / 0.6056 GB, free: 3.574 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.4057, allocations: 67.42 kB / 0.6057 GB, free: 3.508 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4058, allocations: 0 / 0.6057 GB, free: 3.508 MB / 446.1 MB Notification: Performance of Templates: time 0.01576/0.4215, allocations: 9.252 MB / 0.6147 GB, free: 10.36 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (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)