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.000963/0.0009627, allocations: 92.81 kB / 16.66 MB, free: 6.109 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.001027/0.001027, allocations: 179.1 kB / 17.57 MB, free: 5.824 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.382/1.382, allocations: 223.3 MB / 241.6 MB, free: 14.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7419/0.7419, allocations: 115.5 MB / 408.2 MB, free: 7.039 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.0004131, allocations: 8.281 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4665, allocations: 77.52 MB / 0.5606 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004159/0.4708, allocations: 3.886 MB / 0.5644 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.4742, allocations: 1.532 MB / 0.5659 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005225/0.4747, allocations: 32.72 kB / 0.5659 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.4751, allocations: 119.2 kB / 0.566 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006068/0.4757, allocations: 178.9 kB / 0.5662 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.4772, allocations: 0.6162 MB / 0.5668 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.4789, allocations: 1.14 MB / 0.5679 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.48, allocations: 478.6 kB / 0.5683 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008428/0.4808, allocations: 353.2 kB / 0.5687 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.4814, allocations: 359.2 kB / 0.569 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.4815, allocations: 26.75 kB / 0.569 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.32e-05/0.4816, allocations: 25.53 kB / 0.5691 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.4818, allocations: 142.7 kB / 0.5692 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003681/0.4822, allocations: 409.6 kB / 0.5696 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.4834, allocations: 0.8128 MB / 0.5704 GB, free: 29.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4834, allocations: 0 / 0.5704 GB, free: 29.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4834, allocations: 1.094 kB / 0.5704 GB, free: 29.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.4834, allocations: 0 / 0.5704 GB, free: 29.27 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.002466/0.4859, allocations: 1.238 MB / 0.5716 GB, free: 28.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.4859, allocations: 13.09 kB / 0.5716 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.4862, allocations: 120.2 kB / 0.5717 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.4874, allocations: 0.734 MB / 0.5724 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.4875, allocations: 83.92 kB / 0.5725 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.4876, allocations: 71.36 kB / 0.5726 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.4891, allocations: 0.7405 MB / 0.5733 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.4892, allocations: 2.281 kB / 0.5733 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-05/0.4892, allocations: 26.59 kB / 0.5733 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.4893, allocations: 17.28 kB / 0.5734 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.4905, allocations: 0.5326 MB / 0.5739 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004152/0.4947, allocations: 2.296 MB / 0.5761 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.4965, allocations: 0.6381 MB / 0.5767 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005956/0.4971, allocations: 279.9 kB / 0.577 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.763e-05/0.4972, allocations: 13.36 kB / 0.577 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007966/0.498, allocations: 332.1 kB / 0.5773 GB, free: 25.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 3.677e-06/0.498, allocations: 0.5938 kB / 0.5773 GB, free: 25.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001945/0.4999, allocations: 0.7736 MB / 0.5781 GB, free: 25.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.5, allocations: 84.97 kB / 0.5782 GB, free: 25.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.5014, allocations: 0.7563 MB / 0.5789 GB, free: 24.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.5014, allocations: 40.73 kB / 0.579 GB, free: 24.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.5018, allocations: 438.1 kB / 0.5794 GB, free: 24.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.502, allocations: 210.4 kB / 0.5796 GB, free: 24.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.602e-05/0.5021, allocations: 58.83 kB / 0.5796 GB, free: 24.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.5022, allocations: 333 kB / 0.5799 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/0.5028, allocations: 205.6 kB / 0.5801 GB, free: 23.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006089/0.5034, allocations: 316.4 kB / 0.5804 GB, free: 23.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.5045, allocations: 0.5195 MB / 0.581 GB, free: 23.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.5045, allocations: 1.312 kB / 0.581 GB, free: 23.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001476/0.506, allocations: 0.6642 MB / 0.5816 GB, free: 23.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.5061, allocations: 153.6 kB / 0.5817 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.5062, allocations: 10.16 kB / 0.5818 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.995e-05/0.5062, allocations: 5.438 kB / 0.5818 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/0.5069, allocations: 147 kB / 0.5819 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.612e-05/0.507, allocations: 9.375 kB / 0.5819 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/0.5076, allocations: 82.17 kB / 0.582 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.278e-05/0.5076, allocations: 21.11 kB / 0.582 GB, free: 22.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.5077, allocations: 2.281 kB / 0.582 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001202/0.5089, allocations: 0.5237 MB / 0.5825 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5089, allocations: 2.031 kB / 0.5825 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.5089, allocations: 5.188 kB / 0.5825 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.5096, allocations: 140.1 kB / 0.5827 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.5096, allocations: 9.516 kB / 0.5827 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/0.5102, allocations: 67.95 kB / 0.5827 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.5102, allocations: 24.28 kB / 0.5828 GB, free: 22.5 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.0005472/0.5108, allocations: 298.9 kB / 0.583 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.511, allocations: 89.75 kB / 0.5831 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.5113, allocations: 102.5 kB / 0.5832 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.5113, allocations: 7.172 kB / 0.5832 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/0.5113, allocations: 0 / 0.5832 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.5114, allocations: 2.906 kB / 0.5832 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.5145, allocations: 1.464 MB / 0.5847 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.5145, allocations: 0 / 0.5847 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/0.5151, allocations: 104.7 kB / 0.5848 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/0.5152, allocations: 2.625 kB / 0.5848 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.5152, allocations: 18.56 kB / 0.5848 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.5152, allocations: 1.281 kB / 0.5848 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5152, allocations: 5.141 kB / 0.5848 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.5174, allocations: 0.9852 MB / 0.5858 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004146/0.5178, allocations: 238.2 kB / 0.586 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.518, allocations: 11.12 kB / 0.586 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.5185, allocations: 43.42 kB / 0.586 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.5187, allocations: 40.38 kB / 0.5861 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/0.5187, allocations: 18.72 kB / 0.5861 GB, free: 20.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00112/0.5199, allocations: 0.5199 MB / 0.5866 GB, free: 20.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5199, allocations: 0 / 0.5866 GB, free: 20.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001215/0.5211, allocations: 267.1 kB / 0.5869 GB, free: 20.34 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.0001937/0.5213, allocations: 118.8 kB / 0.587 GB, free: 20.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0022/0.5235, allocations: 0.8084 MB / 0.5878 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.5235, allocations: 1.156 kB / 0.5878 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.5242, allocations: 275.7 kB / 0.588 GB, free: 19.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.5257, allocations: 240.7 kB / 0.5883 GB, free: 19.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/0.5296, allocations: 1.969 MB / 0.5902 GB, free: 18.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008556/0.5305, allocations: 0.9944 MB / 0.5911 GB, free: 17.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.5309, allocations: 68.33 kB / 0.5912 GB, free: 17.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.813e-06/0.5309, allocations: 1.031 kB / 0.5912 GB, free: 17.84 MB / 446.1 MB Notification: Performance of Templates: time 0.02086/0.5518, allocations: 10.78 MB / 0.6017 GB, free: 8.73 MB / 446.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)