Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.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.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6913/0.6913, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 187.9 kB / 169.7 MB, free: 1.746 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.585/1.585, allocations: 205.1 MB / 404.5 MB, free: 1.582 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.000887/0.0008871, allocations: 82.48 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.736e-05, allocations: 0 / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 76.75 MB / 0.6281 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4188/0.5383, allocations: 110.7 MB / 0.7362 GB, free: 2.828 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.5385, allocations: 77.02 kB / 0.7363 GB, free: 2.789 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04815/0.5867, allocations: 17.75 MB / 0.7536 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5868, allocations: 4 kB / 0.7536 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.999e-05/0.5868, allocations: 19.92 kB / 0.7537 GB, free: 3.789 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002068/0.5889, allocations: 0.9438 MB / 0.7546 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.589, allocations: 12.03 kB / 0.7546 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/0.5893, allocations: 94.78 kB / 0.7547 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.5905, allocations: 0.6057 MB / 0.7553 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.5906, allocations: 100.7 kB / 0.7554 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.5907, allocations: 59.94 kB / 0.7554 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009741/0.5917, allocations: 0.5902 MB / 0.756 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5917, allocations: 0 / 0.756 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/0.5918, allocations: 27.98 kB / 0.756 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.5918, allocations: 12 kB / 0.756 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006702/0.5925, allocations: 379.8 kB / 0.7564 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.5956, allocations: 2.223 MB / 0.7586 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008858/0.5965, allocations: 469.6 kB / 0.759 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.5968, allocations: 172.8 kB / 0.7592 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.5968, allocations: 8.703 kB / 0.7592 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004346/0.5973, allocations: 242.5 kB / 0.7594 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 4.278e-06/0.5973, allocations: 0 / 0.7594 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.0007385/0.598, allocations: 428.6 kB / 0.7598 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.5982, allocations: 191.9 kB / 0.76 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007135/0.5989, allocations: 0.5389 MB / 0.7605 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.599, allocations: 37.7 kB / 0.7606 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.5993, allocations: 360.9 kB / 0.7609 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.5994, allocations: 157.7 kB / 0.7611 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.5995, allocations: 12 kB / 0.7611 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.5996, allocations: 326 kB / 0.7614 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.5999, allocations: 145.1 kB / 0.7615 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.6002, allocations: 279.8 kB / 0.7618 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.6006, allocations: 203.3 kB / 0.762 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6006, allocations: 4 kB / 0.762 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009024/0.6015, allocations: 0.5436 MB / 0.7625 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004356/0.602, allocations: 0.9909 MB / 0.7635 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.602, allocations: 0 / 0.7635 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.602, allocations: 12 kB / 0.7635 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.6026, allocations: 119.8 kB / 0.7636 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.6026, allocations: 7.953 kB / 0.7636 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/0.6032, allocations: 91.39 kB / 0.7637 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.6033, allocations: 20 kB / 0.7637 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.6033, allocations: 0 / 0.7637 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007148/0.604, allocations: 451.9 kB / 0.7642 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.604, allocations: 8.312 kB / 0.7642 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.604, allocations: 4 kB / 0.7642 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.6044, allocations: 103.8 kB / 0.7643 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.6045, allocations: 4 kB / 0.7643 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.6049, allocations: 55.72 kB / 0.7643 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.605, allocations: 27.94 kB / 0.7644 GB, free: 8.328 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001898/0.6052, allocations: 138.4 kB / 0.7645 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.6053, allocations: 79.02 kB / 0.7646 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.6055, allocations: 87.05 kB / 0.7647 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6055, allocations: 4 kB / 0.7647 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6056, allocations: 0 / 0.7647 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.6056, allocations: 7.984 kB / 0.7647 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008094/0.6064, allocations: 0.653 MB / 0.7653 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6064, allocations: 0 / 0.7653 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004918/0.6069, allocations: 103.8 kB / 0.7654 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.6069, allocations: 4 kB / 0.7654 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.607, allocations: 8 kB / 0.7654 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.607, allocations: 4 kB / 0.7654 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.607, allocations: 0 / 0.7654 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.608, allocations: 0.6537 MB / 0.7661 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.6083, allocations: 208.1 kB / 0.7663 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/0.6084, allocations: 15.95 kB / 0.7663 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/0.6089, allocations: 63.94 kB / 0.7663 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.609, allocations: 31.95 kB / 0.7664 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.6091, allocations: 15.98 kB / 0.7664 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005149/0.6096, allocations: 431.2 kB / 0.7668 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6096, allocations: 0 / 0.7668 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007244/0.6103, allocations: 235.2 kB / 0.767 GB, free: 5.523 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001919/0.6105, allocations: 123 kB / 0.7671 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.6116, allocations: 0.7421 MB / 0.7678 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.6117, allocations: 4 kB / 0.7679 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.612, allocations: 183.9 kB / 0.768 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008698/0.6128, allocations: 194.9 kB / 0.7682 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.6146, allocations: 0.9173 MB / 0.7691 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.6151, allocations: 0.935 MB / 0.77 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000616/0.6157, allocations: 139.6 kB / 0.7702 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.6159, allocations: 39.44 kB / 0.7702 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of SimCode: time 4e-07/0.6159, allocations: 0 / 0.7702 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of Templates: time 0.01596/0.6319, allocations: 9.368 MB / 0.7793 GB, free: 8.871 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)