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.001113/0.001113, allocations: 105.9 kB / 16.27 MB, free: 5.984 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.001706/0.001707, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7169/0.7169, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001194, allocations: 59.89 kB / 0.4911 GB, free: 7.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3746, allocations: 77.92 MB / 0.5672 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.00553/0.3802, allocations: 4.324 MB / 0.5714 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004102/0.3843, allocations: 1.579 MB / 0.5729 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.3856, allocations: 31.34 kB / 0.573 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004524/0.3861, allocations: 169.7 kB / 0.5731 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007656/0.387, allocations: 232.2 kB / 0.5734 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.3884, allocations: 0.667 MB / 0.574 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.3897, allocations: 1.211 MB / 0.5752 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007631/0.3905, allocations: 0.5072 MB / 0.5757 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000672/0.3912, allocations: 462 kB / 0.5761 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000514/0.3917, allocations: 458.2 kB / 0.5766 GB, free: 26.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.3919, allocations: 103.8 kB / 0.5767 GB, free: 26.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.3921, allocations: 108 kB / 0.5768 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.3923, allocations: 230.7 kB / 0.577 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003676/0.3926, allocations: 493.4 kB / 0.5775 GB, free: 26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.3939, allocations: 1.106 MB / 0.5785 GB, free: 25.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.3939, allocations: 6.984 kB / 0.5785 GB, free: 25.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3939, allocations: 3.938 kB / 0.5785 GB, free: 25.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.3939, allocations: 3.938 kB / 0.5785 GB, free: 25.48 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.002409/0.3963, allocations: 1.398 MB / 0.5799 GB, free: 24.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3964, allocations: 10.41 kB / 0.5799 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.3966, allocations: 122.9 kB / 0.58 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.3977, allocations: 0.7263 MB / 0.5808 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.03e-05/0.3978, allocations: 84.11 kB / 0.5808 GB, free: 23.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.3979, allocations: 69.75 kB / 0.5809 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.399, allocations: 0.7344 MB / 0.5816 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.399, allocations: 0.9688 kB / 0.5816 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/0.3991, allocations: 27.59 kB / 0.5816 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.3991, allocations: 15.41 kB / 0.5817 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.4002, allocations: 0.5145 MB / 0.5822 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.4032, allocations: 2.283 MB / 0.5844 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.4045, allocations: 0.6259 MB / 0.585 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/0.405, allocations: 273.8 kB / 0.5853 GB, free: 20.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.4051, allocations: 8.625 kB / 0.5853 GB, free: 20.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006423/0.4057, allocations: 317.4 kB / 0.5856 GB, free: 20.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 3.687e-06/0.4057, allocations: 5.266 kB / 0.5856 GB, free: 20.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001591/0.4073, allocations: 0.7595 MB / 0.5863 GB, free: 20.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.4074, allocations: 83.83 kB / 0.5864 GB, free: 20.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008597/0.4083, allocations: 0.751 MB / 0.5871 GB, free: 19.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.4083, allocations: 41.77 kB / 0.5872 GB, free: 19.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.4086, allocations: 440.3 kB / 0.5876 GB, free: 19.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.4087, allocations: 211.5 kB / 0.5878 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.4089, allocations: 109.7 kB / 0.5879 GB, free: 19.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.4089, allocations: 331.5 kB / 0.5882 GB, free: 18.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.4094, allocations: 208.5 kB / 0.5884 GB, free: 18.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.4098, allocations: 306.5 kB / 0.5887 GB, free: 18.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008717/0.4107, allocations: 0.5078 MB / 0.5892 GB, free: 18.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4107, allocations: 0 / 0.5892 GB, free: 18.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001204/0.4119, allocations: 0.6488 MB / 0.5898 GB, free: 17.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.412, allocations: 9.828 kB / 0.5898 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.412, allocations: 2.938 kB / 0.5898 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.412, allocations: 5.25 kB / 0.5899 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/0.4127, allocations: 145.4 kB / 0.59 GB, free: 17.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.4127, allocations: 8.531 kB / 0.59 GB, free: 17.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.4132, allocations: 78.06 kB / 0.5901 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.4133, allocations: 19.84 kB / 0.5901 GB, free: 17.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006011/0.4139, allocations: 360 kB / 0.5904 GB, free: 17.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004482/0.4143, allocations: 292.5 kB / 0.5907 GB, free: 17.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007992/0.4151, allocations: 493.7 kB / 0.5912 GB, free: 17.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.4152, allocations: 1.281 kB / 0.5912 GB, free: 17.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001104/0.4163, allocations: 0.6237 MB / 0.5918 GB, free: 16.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.4163, allocations: 10.45 kB / 0.5918 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4163, allocations: 2.531 kB / 0.5918 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.4163, allocations: 5.469 kB / 0.5918 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.4169, allocations: 150 kB / 0.592 GB, free: 16.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.417, allocations: 5.062 kB / 0.592 GB, free: 16.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.4174, allocations: 53.83 kB / 0.592 GB, free: 16.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.4175, allocations: 23.23 kB / 0.592 GB, free: 16.68 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.0001828/0.4176, allocations: 218.7 kB / 0.5922 GB, free: 16.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.4178, allocations: 95.22 kB / 0.5923 GB, free: 16.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.418, allocations: 106 kB / 0.5924 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.418, allocations: 6.594 kB / 0.5924 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.418, allocations: 3.938 kB / 0.5924 GB, free: 16.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.418, allocations: 3.984 kB / 0.5924 GB, free: 16.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.4199, allocations: 1.442 MB / 0.5939 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4199, allocations: 0 / 0.5939 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/0.4205, allocations: 103.8 kB / 0.594 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.4205, allocations: 4 kB / 0.594 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.4205, allocations: 15.98 kB / 0.594 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.4205, allocations: 4 kB / 0.594 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4205, allocations: 4 kB / 0.594 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.422, allocations: 0.9663 MB / 0.5949 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.4223, allocations: 223.8 kB / 0.5951 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.4224, allocations: 16 kB / 0.5952 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/0.4228, allocations: 28.06 kB / 0.5952 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4229, allocations: 40.5 kB / 0.5952 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.4229, allocations: 19.98 kB / 0.5952 GB, free: 13.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005323/0.4235, allocations: 0.5146 MB / 0.5957 GB, free: 13.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4235, allocations: 0 / 0.5957 GB, free: 13.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007482/0.4242, allocations: 279 kB / 0.596 GB, free: 12.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.000182/0.4244, allocations: 119.2 kB / 0.5961 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.4261, allocations: 0.8152 MB / 0.5969 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4261, allocations: 0 / 0.5969 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.4265, allocations: 267.1 kB / 0.5972 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.4276, allocations: 276 kB / 0.5974 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.4298, allocations: 1.567 MB / 0.599 GB, free: 9.723 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.4301, allocations: 0.9898 MB / 0.5999 GB, free: 8.703 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004625/0.4305, allocations: 122.9 kB / 0.6 GB, free: 8.578 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.4307, allocations: 63.42 kB / 0.6001 GB, free: 8.516 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4307, allocations: 0 / 0.6001 GB, free: 8.516 MB / 446.1 MB Notification: Performance of Templates: time 0.0143/0.445, allocations: 9.255 MB / 0.6091 GB, free: 15.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)