Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8009/0.8009, allocations: 127.4 MB / 134.9 MB, free: 3.453 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001402, allocations: 183.5 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.2 MB / 399.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000815/0.000815, allocations: 102.4 kB / 476.7 MB, free: 1.441 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.735e-05/1.736e-05, allocations: 2.562 kB / 0.5466 GB, free: 95.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1273, allocations: 76.76 MB / 0.6215 GB, free: 43.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.2549, allocations: 110.4 MB / 0.7293 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.2552, allocations: 79.95 kB / 0.7294 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3737/0.6289, allocations: 20.6 MB / 0.7495 GB, free: 76.65 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6289, allocations: 1 kB / 0.7495 GB, free: 76.65 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.922e-05/0.629, allocations: 26.34 kB / 0.7495 GB, free: 76.65 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001702/0.6307, allocations: 1.091 MB / 0.7506 GB, free: 76.01 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.6307, allocations: 8.531 kB / 0.7506 GB, free: 76.01 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.631, allocations: 124.7 kB / 0.7507 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.6323, allocations: 0.7505 MB / 0.7515 GB, free: 75.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.581e-05/0.6324, allocations: 62.92 kB / 0.7515 GB, free: 75.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.6325, allocations: 54.47 kB / 0.7516 GB, free: 75.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008161/0.6333, allocations: 456.5 kB / 0.752 GB, free: 75.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.6343, allocations: 0.6345 MB / 0.7526 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.6344, allocations: 1.406 kB / 0.7526 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.6344, allocations: 2.062 kB / 0.7526 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.6345, allocations: 17.16 kB / 0.7527 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.6377, allocations: 2.238 MB / 0.7548 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.6387, allocations: 0.5616 MB / 0.7554 GB, free: 74.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.639, allocations: 209.7 kB / 0.7556 GB, free: 74.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.535e-05/0.6391, allocations: 11.53 kB / 0.7556 GB, free: 74.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004962/0.6396, allocations: 287.8 kB / 0.7559 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 2.745e-06/0.6396, allocations: 1.125 kB / 0.7559 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.0009935/0.6406, allocations: 0.4896 MB / 0.7564 GB, free: 74.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.6407, allocations: 137.1 kB / 0.7565 GB, free: 74.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007509/0.6414, allocations: 0.5612 MB / 0.757 GB, free: 74.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.6415, allocations: 29.64 kB / 0.7571 GB, free: 74.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/0.6418, allocations: 457.9 kB / 0.7575 GB, free: 73.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.642, allocations: 197.2 kB / 0.7577 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.642, allocations: 0 / 0.7577 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.6421, allocations: 332.1 kB / 0.758 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.6424, allocations: 172 kB / 0.7582 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.6427, allocations: 287.5 kB / 0.7584 GB, free: 73.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.6431, allocations: 202.8 kB / 0.7586 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6431, allocations: 0 / 0.7586 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008978/0.644, allocations: 0.5665 MB / 0.7592 GB, free: 73.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.6442, allocations: 0.8718 MB / 0.76 GB, free: 72.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.6442, allocations: 4.109 kB / 0.76 GB, free: 72.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.6442, allocations: 10.27 kB / 0.7601 GB, free: 72.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009367/0.6452, allocations: 164.4 kB / 0.7602 GB, free: 72.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.6452, allocations: 11.67 kB / 0.7602 GB, free: 72.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/0.6457, allocations: 65.78 kB / 0.7603 GB, free: 72.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.6458, allocations: 20.22 kB / 0.7603 GB, free: 72.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.6458, allocations: 3.75 kB / 0.7603 GB, free: 72.28 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006998/0.6465, allocations: 431.5 kB / 0.7607 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6465, allocations: 4.141 kB / 0.7607 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.6465, allocations: 4.938 kB / 0.7607 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/0.6473, allocations: 146.3 kB / 0.7609 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.6473, allocations: 6.641 kB / 0.7609 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.6477, allocations: 46.45 kB / 0.7609 GB, free: 72.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.6478, allocations: 19 kB / 0.7609 GB, free: 72.22 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 () * 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.0001685/0.648, allocations: 124.2 kB / 0.7611 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.6481, allocations: 89.97 kB / 0.7611 GB, free: 72.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.6484, allocations: 93.22 kB / 0.7612 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.6484, allocations: 5.469 kB / 0.7612 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.6484, allocations: 1.25 kB / 0.7612 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.6484, allocations: 3.188 kB / 0.7612 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.6505, allocations: 1.322 MB / 0.7625 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6505, allocations: 0 / 0.7625 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/0.6511, allocations: 113.6 kB / 0.7626 GB, free: 71.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.6511, allocations: 2.625 kB / 0.7626 GB, free: 71.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/0.6511, allocations: 7.312 kB / 0.7627 GB, free: 71.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.6512, allocations: 1.281 kB / 0.7627 GB, free: 71.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6512, allocations: 1.312 kB / 0.7627 GB, free: 71.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.6527, allocations: 0.8706 MB / 0.7635 GB, free: 71.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.653, allocations: 234.8 kB / 0.7637 GB, free: 71.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.6531, allocations: 2.156 kB / 0.7637 GB, free: 71.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.6536, allocations: 39.83 kB / 0.7638 GB, free: 71.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.6538, allocations: 45.88 kB / 0.7638 GB, free: 71.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.6538, allocations: 21.72 kB / 0.7638 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006393/0.6545, allocations: 439.3 kB / 0.7643 GB, free: 71.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6545, allocations: 0 / 0.7643 GB, free: 71.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008997/0.6554, allocations: 271.8 kB / 0.7645 GB, free: 71.21 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 () * 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.000182/0.6556, allocations: 113.9 kB / 0.7646 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.6566, allocations: 0.7373 MB / 0.7653 GB, free: 71.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6567, allocations: 3.156 kB / 0.7653 GB, free: 71.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.657, allocations: 233.8 kB / 0.7656 GB, free: 71.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.6581, allocations: 229.6 kB / 0.7658 GB, free: 71.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.6601, allocations: 1.152 MB / 0.7669 GB, free: 70.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.6604, allocations: 1.02 MB / 0.7679 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007456/0.6612, allocations: 168.1 kB / 0.7681 GB, free: 69.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.6613, allocations: 49.2 kB / 0.7681 GB, free: 69.86 MB / 0.5105 GB Notification: Performance of SimCode: time 8.81e-07/0.6614, allocations: 0 / 0.7681 GB, free: 69.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.0149/0.6763, allocations: 10.19 MB / 0.7781 GB, free: 65.88 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)