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.001081/0.001081, allocations: 93.19 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 181.7 kB / 16.92 MB, free: 6.684 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.367/1.367, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7159/0.7159, allocations: 123 MB / 415.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003575, allocations: 8.594 kB / 0.4933 GB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3955, allocations: 79.28 MB / 0.5707 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004082/0.3996, allocations: 3.891 MB / 0.5745 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.4027, allocations: 1.523 MB / 0.576 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005747/0.4033, allocations: 34.78 kB / 0.576 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.4037, allocations: 123.8 kB / 0.5762 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006378/0.4044, allocations: 179.1 kB / 0.5763 GB, free: 6.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.4057, allocations: 0.6131 MB / 0.5769 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.4069, allocations: 1.14 MB / 0.578 GB, free: 5.863 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006532/0.4076, allocations: 488 kB / 0.5785 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004895/0.4081, allocations: 352 kB / 0.5788 GB, free: 5.414 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004088/0.4085, allocations: 359.9 kB / 0.5792 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-05/0.4086, allocations: 26 kB / 0.5792 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.4087, allocations: 26.84 kB / 0.5792 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.4088, allocations: 138.1 kB / 0.5794 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.4091, allocations: 409.6 kB / 0.5798 GB, free: 4.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.4103, allocations: 1.02 MB / 0.5808 GB, free: 4.469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4103, allocations: 0 / 0.5808 GB, free: 4.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4103, allocations: 0 / 0.5808 GB, free: 4.469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.4103, allocations: 1.281 kB / 0.5808 GB, free: 4.469 MB / 430.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.002248/0.4126, allocations: 1.245 MB / 0.582 GB, free: 3.656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4126, allocations: 8.594 kB / 0.582 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.4128, allocations: 123.7 kB / 0.5821 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.414, allocations: 0.7247 MB / 0.5828 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.4141, allocations: 84.12 kB / 0.5829 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.4142, allocations: 70.38 kB / 0.583 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.4157, allocations: 0.7433 MB / 0.5837 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.4158, allocations: 0.625 kB / 0.5837 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.4158, allocations: 27.48 kB / 0.5837 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.4159, allocations: 15.75 kB / 0.5837 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.4171, allocations: 0.5331 MB / 0.5842 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.4206, allocations: 2.297 MB / 0.5865 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.4222, allocations: 0.6332 MB / 0.5871 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/0.4228, allocations: 285 kB / 0.5874 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.554e-05/0.4229, allocations: 11.55 kB / 0.5874 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007487/0.4236, allocations: 333.7 kB / 0.5877 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=60): time 2.324e-06/0.4236, allocations: 0.8438 kB / 0.5877 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of matching and sorting (n=60): time 0.001877/0.4255, allocations: 0.774 MB / 0.5885 GB, free: 292 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.4256, allocations: 89.27 kB / 0.5885 GB, free: 192 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.4268, allocations: 0.7522 MB / 0.5893 GB, free: 15.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/0.4269, allocations: 38.28 kB / 0.5893 GB, free: 15.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/0.4273, allocations: 439.2 kB / 0.5897 GB, free: 15.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.4276, allocations: 211.2 kB / 0.5899 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.4277, allocations: 57.89 kB / 0.59 GB, free: 15.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4279, allocations: 331.6 kB / 0.5903 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000554/0.4284, allocations: 206.7 kB / 0.5905 GB, free: 14.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000646/0.4291, allocations: 315 kB / 0.5908 GB, free: 14.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.4302, allocations: 0.5201 MB / 0.5913 GB, free: 14.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.4302, allocations: 1.938 kB / 0.5913 GB, free: 14.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001529/0.4317, allocations: 0.6637 MB / 0.592 GB, free: 14.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.4319, allocations: 161.9 kB / 0.5921 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.4319, allocations: 6.562 kB / 0.5921 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.4319, allocations: 5.25 kB / 0.5921 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.4326, allocations: 146 kB / 0.5923 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/0.4327, allocations: 8.688 kB / 0.5923 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.4332, allocations: 83.39 kB / 0.5924 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/0.4332, allocations: 19.86 kB / 0.5924 GB, free: 13.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.091e-06/0.4333, allocations: 7.938 kB / 0.5924 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001082/0.4343, allocations: 0.5261 MB / 0.5929 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4344, allocations: 4.062 kB / 0.5929 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.4344, allocations: 4.438 kB / 0.5929 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.435, allocations: 140.2 kB / 0.593 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.435, allocations: 5.203 kB / 0.593 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.4355, allocations: 73.75 kB / 0.5931 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.4355, allocations: 19.47 kB / 0.5931 GB, free: 13.61 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.0004541/0.436, allocations: 294.9 kB / 0.5934 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.4361, allocations: 95.12 kB / 0.5935 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.4363, allocations: 102.8 kB / 0.5936 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.4363, allocations: 6.594 kB / 0.5936 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.4364, allocations: 4 kB / 0.5936 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/0.4364, allocations: 7.422 kB / 0.5936 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.4388, allocations: 1.451 MB / 0.595 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4389, allocations: 0 / 0.595 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.4394, allocations: 104.5 kB / 0.5951 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.4394, allocations: 2.375 kB / 0.5951 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.4395, allocations: 18.36 kB / 0.5952 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4395, allocations: 6.969 kB / 0.5952 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4395, allocations: 0 / 0.5952 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.4414, allocations: 0.9823 MB / 0.5961 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.4417, allocations: 233.2 kB / 0.5963 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.502e-05/0.4418, allocations: 16.38 kB / 0.5964 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/0.4423, allocations: 42.84 kB / 0.5964 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/0.4424, allocations: 34.72 kB / 0.5964 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.4424, allocations: 20.91 kB / 0.5965 GB, free: 11.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007075/0.4432, allocations: 0.5149 MB / 0.597 GB, free: 11.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4432, allocations: 0 / 0.597 GB, free: 11.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007692/0.4439, allocations: 267.8 kB / 0.5972 GB, free: 11.46 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.0001379/0.4441, allocations: 125.7 kB / 0.5973 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.4458, allocations: 0.8089 MB / 0.5981 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4458, allocations: 4.562 kB / 0.5981 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005481/0.4464, allocations: 275.7 kB / 0.5984 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.4477, allocations: 240.7 kB / 0.5986 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.4504, allocations: 1.939 MB / 0.6005 GB, free: 9.641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.451, allocations: 0.9948 MB / 0.6015 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005177/0.4515, allocations: 116.3 kB / 0.6016 GB, free: 8.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.4517, allocations: 61.55 kB / 0.6017 GB, free: 8.738 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4517, allocations: 0 / 0.6017 GB, free: 8.738 MB / 446.1 MB Notification: Performance of Templates: time 0.01704/0.4688, allocations: 8.677 MB / 0.6101 GB, free: 3.824 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)