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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009555/0.0009554, allocations: 172.5 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4616/0.4616, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 348.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007779/0.0007779, allocations: 93.88 kB / 420.2 MB, free: 9.668 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 8 kB / 0.4901 GB, free: 8.023 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3154, allocations: 71.02 MB / 0.5594 GB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.4448, allocations: 108.5 MB / 0.6654 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.4452, allocations: 79.97 kB / 0.6655 GB, free: 0.918 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05396/0.4991, allocations: 19.87 MB / 0.6849 GB, free: 13 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.484e-06/0.4992, allocations: 0 / 0.6849 GB, free: 13 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0001198/0.4993, allocations: 31.92 kB / 0.6849 GB, free: 12.97 MB / 0.4949 GB 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.002657/0.502, allocations: 1.218 MB / 0.6861 GB, free: 11.7 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.502, allocations: 12.03 kB / 0.6861 GB, free: 11.68 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/0.5024, allocations: 123.4 kB / 0.6862 GB, free: 11.56 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.5039, allocations: 0.7704 MB / 0.687 GB, free: 10.75 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.504, allocations: 84.25 kB / 0.6871 GB, free: 10.66 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.5042, allocations: 72.38 kB / 0.6871 GB, free: 10.59 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.5056, allocations: 0.7902 MB / 0.6879 GB, free: 9.754 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.5057, allocations: 0 / 0.6879 GB, free: 9.754 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/0.5057, allocations: 28 kB / 0.6879 GB, free: 9.727 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.5058, allocations: 19.94 kB / 0.688 GB, free: 9.707 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.5069, allocations: 0.5673 MB / 0.6885 GB, free: 9.141 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003612/0.5106, allocations: 2.349 MB / 0.6908 GB, free: 6.723 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.5121, allocations: 0.6837 MB / 0.6915 GB, free: 6.035 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.5126, allocations: 270.4 kB / 0.6917 GB, free: 5.766 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 4.702e-05/0.5127, allocations: 4.562 kB / 0.6917 GB, free: 5.762 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000829/0.5135, allocations: 355 kB / 0.6921 GB, free: 5.406 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=60): time 2.425e-06/0.5135, allocations: 0 / 0.6921 GB, free: 5.406 MB / 0.4949 GB Notification: Performance of matching and sorting (n=60): time 0.001747/0.5153, allocations: 0.8181 MB / 0.6929 GB, free: 4.582 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.5154, allocations: 141 kB / 0.693 GB, free: 4.414 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009885/0.5164, allocations: 0.7594 MB / 0.6937 GB, free: 3.645 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/0.5164, allocations: 37.7 kB / 0.6938 GB, free: 3.602 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.5168, allocations: 440.5 kB / 0.6942 GB, free: 3.168 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.517, allocations: 208.9 kB / 0.6944 GB, free: 2.961 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.517, allocations: 8 kB / 0.6944 GB, free: 2.953 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.5171, allocations: 334 kB / 0.6947 GB, free: 2.621 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005047/0.5176, allocations: 225.2 kB / 0.6949 GB, free: 2.398 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/0.5182, allocations: 346.2 kB / 0.6953 GB, free: 2.027 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009995/0.5192, allocations: 0.5465 MB / 0.6958 GB, free: 1.449 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5192, allocations: 0 / 0.6958 GB, free: 1.449 MB / 0.4949 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001304/0.5205, allocations: 0.693 MB / 0.6965 GB, free: 0.75 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.5207, allocations: 157.1 kB / 0.6966 GB, free: 0.5625 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5207, allocations: 3.984 kB / 0.6966 GB, free: 0.5586 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.5207, allocations: 11.94 kB / 0.6967 GB, free: 0.5469 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008464/0.5216, allocations: 155.8 kB / 0.6968 GB, free: 404 kB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.5216, allocations: 4 kB / 0.6968 GB, free: 400 kB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005296/0.5221, allocations: 91.39 kB / 0.6969 GB, free: 308 kB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.5222, allocations: 27.92 kB / 0.6969 GB, free: 280 kB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/0.5222, allocations: 7.938 kB / 0.6969 GB, free: 272 kB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001064/0.5233, allocations: 0.5518 MB / 0.6975 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5233, allocations: 4 kB / 0.6975 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.281e-06/0.5233, allocations: 4 kB / 0.6975 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/0.524, allocations: 160 kB / 0.6976 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.524, allocations: 8 kB / 0.6976 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.5246, allocations: 75.41 kB / 0.6977 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.5246, allocations: 23.98 kB / 0.6977 GB, free: 15.45 MB / 0.5105 GB 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,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004741/0.5251, allocations: 304.8 kB / 0.698 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.5253, allocations: 94.88 kB / 0.6981 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.5255, allocations: 105.2 kB / 0.6982 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.5255, allocations: 4 kB / 0.6982 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.5255, allocations: 0 / 0.6982 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5255, allocations: 3.984 kB / 0.6982 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.528, allocations: 1.528 MB / 0.6997 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.528, allocations: 0 / 0.6997 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/0.5286, allocations: 111.8 kB / 0.6998 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.5286, allocations: 4 kB / 0.6998 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.5286, allocations: 19.92 kB / 0.6998 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5286, allocations: 4 kB / 0.6998 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5286, allocations: 0 / 0.6998 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.5305, allocations: 1.033 MB / 0.7008 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.5308, allocations: 235.7 kB / 0.7011 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.531, allocations: 19.92 kB / 0.7011 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005252/0.5315, allocations: 55.95 kB / 0.7011 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/0.5316, allocations: 36.45 kB / 0.7012 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.5317, allocations: 19.98 kB / 0.7012 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007889/0.5325, allocations: 0.5146 MB / 0.7017 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5325, allocations: 0 / 0.7017 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008516/0.5333, allocations: 283.1 kB / 0.702 GB, free: 10.99 MB / 0.5105 GB 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 (limPIDInp.trigger,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000174/0.5335, allocations: 123.1 kB / 0.7021 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.5352, allocations: 0.8661 MB / 0.7029 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5352, allocations: 0.625 kB / 0.7029 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005153/0.5357, allocations: 295.1 kB / 0.7032 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.5368, allocations: 233.9 kB / 0.7034 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.5398, allocations: 1.831 MB / 0.7052 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.5403, allocations: 0.9939 MB / 0.7062 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005847/0.5409, allocations: 114.5 kB / 0.7063 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.5411, allocations: 63.42 kB / 0.7064 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of SimCode: time 4.6e-07/0.5411, allocations: 4 kB / 0.7064 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of Templates: time 0.2345/0.7757, allocations: 9.238 MB / 0.7154 GB, free: 131.8 MB / 0.5105 GB 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)