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.00141/0.00141, allocations: 106.8 kB / 15.99 MB, free: 6.348 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.001534/0.001534, allocations: 191.3 kB / 16.91 MB, free: 6.191 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.324/1.324, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7456/0.7456, allocations: 122.9 MB / 413.6 MB, free: 40 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 0.4906 GB, free: 7.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3477, allocations: 77.92 MB / 0.5667 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004942/0.3527, allocations: 4.325 MB / 0.5709 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.3554, allocations: 1.531 MB / 0.5724 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000483/0.3559, allocations: 31.22 kB / 0.5725 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.3563, allocations: 127 kB / 0.5726 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005903/0.3569, allocations: 173.7 kB / 0.5727 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.3581, allocations: 0.6197 MB / 0.5734 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.3592, allocations: 1.226 MB / 0.5746 GB, free: 26.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006653/0.3599, allocations: 0.4951 MB / 0.575 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004955/0.3604, allocations: 477.3 kB / 0.5755 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004058/0.3608, allocations: 459.6 kB / 0.5759 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.3609, allocations: 103.1 kB / 0.576 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.3611, allocations: 102.7 kB / 0.5761 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.3612, allocations: 234.4 kB / 0.5763 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003122/0.3615, allocations: 490.8 kB / 0.5768 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.3626, allocations: 1.109 MB / 0.5779 GB, free: 24.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3626, allocations: 5.562 kB / 0.5779 GB, free: 24.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3626, allocations: 2.391 kB / 0.5779 GB, free: 24.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.3626, allocations: 3.938 kB / 0.5779 GB, free: 24.82 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.002295/0.3649, allocations: 1.4 MB / 0.5793 GB, free: 23.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.365, allocations: 9.906 kB / 0.5793 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.3652, allocations: 128.1 kB / 0.5794 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.3663, allocations: 0.7213 MB / 0.5801 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.3664, allocations: 82.69 kB / 0.5802 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.3665, allocations: 72.27 kB / 0.5803 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.3679, allocations: 0.7313 MB / 0.581 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.368, allocations: 5.812 kB / 0.581 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.901e-05/0.368, allocations: 31.56 kB / 0.581 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.3681, allocations: 17 kB / 0.581 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.3692, allocations: 0.5157 MB / 0.5815 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.3724, allocations: 2.277 MB / 0.5838 GB, free: 21.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.3738, allocations: 0.6156 MB / 0.5844 GB, free: 20.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/0.3743, allocations: 279.9 kB / 0.5846 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.223e-05/0.3743, allocations: 6.938 kB / 0.5846 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007038/0.375, allocations: 322.8 kB / 0.5849 GB, free: 20.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 3.096e-06/0.375, allocations: 0 / 0.5849 GB, free: 20.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001622/0.3767, allocations: 0.7526 MB / 0.5857 GB, free: 20.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.3767, allocations: 87.92 kB / 0.5858 GB, free: 20.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000913/0.3777, allocations: 0.756 MB / 0.5865 GB, free: 19.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.3777, allocations: 36.67 kB / 0.5865 GB, free: 19.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.378, allocations: 442.3 kB / 0.587 GB, free: 19.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.3782, allocations: 207.9 kB / 0.5871 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.3783, allocations: 111.9 kB / 0.5873 GB, free: 18.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.3784, allocations: 339.9 kB / 0.5876 GB, free: 18.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.3788, allocations: 208.3 kB / 0.5878 GB, free: 18.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/0.3793, allocations: 308.9 kB / 0.5881 GB, free: 18.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008861/0.3802, allocations: 0.505 MB / 0.5886 GB, free: 17.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3802, allocations: 0 / 0.5886 GB, free: 17.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001198/0.3815, allocations: 0.6525 MB / 0.5892 GB, free: 17.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3815, allocations: 9.031 kB / 0.5892 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.3815, allocations: 1.594 kB / 0.5892 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3815, allocations: 6.219 kB / 0.5892 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.3822, allocations: 141.2 kB / 0.5894 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.3822, allocations: 13.23 kB / 0.5894 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.3827, allocations: 77.83 kB / 0.5894 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.3827, allocations: 22.3 kB / 0.5895 GB, free: 17.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005865/0.3833, allocations: 353.1 kB / 0.5898 GB, free: 17.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004271/0.3838, allocations: 296 kB / 0.5901 GB, free: 17.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008293/0.3846, allocations: 0.4903 MB / 0.5906 GB, free: 16.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.3846, allocations: 0.9375 kB / 0.5906 GB, free: 16.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.00112/0.3857, allocations: 0.6278 MB / 0.5912 GB, free: 16.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3858, allocations: 6.281 kB / 0.5912 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3858, allocations: 1.938 kB / 0.5912 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.3858, allocations: 6.094 kB / 0.5912 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.3864, allocations: 143.2 kB / 0.5913 GB, free: 16.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3864, allocations: 4.375 kB / 0.5913 GB, free: 16.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.3868, allocations: 60.81 kB / 0.5914 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.3869, allocations: 19.81 kB / 0.5914 GB, free: 16.38 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.0001936/0.3871, allocations: 217.6 kB / 0.5916 GB, free: 16.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.3872, allocations: 95.38 kB / 0.5917 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.3874, allocations: 106.3 kB / 0.5918 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3874, allocations: 9.094 kB / 0.5918 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/0.3875, allocations: 9.109 kB / 0.5918 GB, free: 16.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3875, allocations: 3.938 kB / 0.5918 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.3896, allocations: 1.431 MB / 0.5932 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3896, allocations: 0 / 0.5932 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.3901, allocations: 110.4 kB / 0.5933 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.3902, allocations: 2.031 kB / 0.5933 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.3902, allocations: 12.09 kB / 0.5933 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3902, allocations: 2.062 kB / 0.5933 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3902, allocations: 0 / 0.5933 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.3918, allocations: 0.9651 MB / 0.5943 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.392, allocations: 223.8 kB / 0.5945 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.54e-05/0.3921, allocations: 16 kB / 0.5945 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.3925, allocations: 31.97 kB / 0.5945 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.469e-05/0.3926, allocations: 40.5 kB / 0.5946 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.3927, allocations: 16 kB / 0.5946 GB, free: 13.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000543/0.3932, allocations: 0.5146 MB / 0.5951 GB, free: 13.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3932, allocations: 3.938 kB / 0.5951 GB, free: 13.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007026/0.3939, allocations: 275 kB / 0.5954 GB, free: 13.1 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.0001351/0.3941, allocations: 123.2 kB / 0.5955 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.3957, allocations: 0.8208 MB / 0.5963 GB, free: 12.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3957, allocations: 80 / 0.5963 GB, free: 12.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004309/0.3962, allocations: 271.1 kB / 0.5965 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.3974, allocations: 272.9 kB / 0.5968 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.3997, allocations: 1.883 MB / 0.5986 GB, free: 9.723 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.4, allocations: 0.9937 MB / 0.5996 GB, free: 8.699 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004785/0.4005, allocations: 118.7 kB / 0.5997 GB, free: 8.578 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.4007, allocations: 59.44 kB / 0.5998 GB, free: 8.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4007, allocations: 0 / 0.5998 GB, free: 8.52 MB / 446.1 MB Notification: Performance of Templates: time 0.01381/0.4145, allocations: 9.167 MB / 0.6087 GB, free: 15.46 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)