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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.711/0.711, allocations: 117.9 MB / 133.9 MB, free: 9.23 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.001007/0.001007, allocations: 180.3 kB / 161.7 MB, free: 14 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.666/1.666, allocations: 205.4 MB / 394.8 MB, free: 10.12 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.0009118/0.0009118, allocations: 90.12 kB / 470.1 MB, free: 29.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 12 kB / 0.5423 GB, free: 9.785 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1474, allocations: 74.54 MB / 0.6151 GB, free: 15.18 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4193/0.5668, allocations: 110.1 MB / 0.7226 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.567, allocations: 82.5 kB / 0.7227 GB, free: 25.37 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05143/0.6185, allocations: 20.86 MB / 0.743 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6185, allocations: 0 / 0.743 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000127/0.6187, allocations: 32.12 kB / 0.7431 GB, free: 11.09 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002584/0.6213, allocations: 1.25 MB / 0.7443 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.6213, allocations: 8.031 kB / 0.7443 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003832/0.6217, allocations: 127.4 kB / 0.7444 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.6231, allocations: 0.7936 MB / 0.7452 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-05/0.6232, allocations: 86.36 kB / 0.7453 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.6233, allocations: 73.5 kB / 0.7454 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.6245, allocations: 0.7957 MB / 0.7461 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.6246, allocations: 0 / 0.7461 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.141e-05/0.6247, allocations: 28.06 kB / 0.7462 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.6247, allocations: 16 kB / 0.7462 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.6258, allocations: 0.5786 MB / 0.7467 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003328/0.6291, allocations: 2.39 MB / 0.7491 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.6304, allocations: 0.6791 MB / 0.7497 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/0.6309, allocations: 268.2 kB / 0.75 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/0.631, allocations: 8.562 kB / 0.75 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006352/0.6316, allocations: 353.9 kB / 0.7503 GB, free: 5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=60): time 2.484e-06/0.6316, allocations: 7.938 kB / 0.7503 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of matching and sorting (n=60): time 0.001476/0.6331, allocations: 0.821 MB / 0.7511 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.6332, allocations: 141 kB / 0.7513 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008411/0.634, allocations: 0.7732 MB / 0.752 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.6341, allocations: 37.08 kB / 0.7521 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.6344, allocations: 447.3 kB / 0.7525 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.6345, allocations: 208 kB / 0.7527 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.6345, allocations: 11.75 kB / 0.7527 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.6346, allocations: 328.1 kB / 0.753 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.635, allocations: 229.2 kB / 0.7532 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.6355, allocations: 345.3 kB / 0.7536 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008709/0.6364, allocations: 0.5464 MB / 0.7541 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6364, allocations: 0 / 0.7541 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001224/0.6376, allocations: 0.7052 MB / 0.7548 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.2e-05/0.6377, allocations: 157.6 kB / 0.7549 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.6377, allocations: 0 / 0.7549 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.6378, allocations: 12 kB / 0.7549 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000771/0.6386, allocations: 158.5 kB / 0.7551 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.6386, allocations: 4 kB / 0.7551 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/0.6391, allocations: 86.64 kB / 0.7552 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.6392, allocations: 22.62 kB / 0.7552 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.6392, allocations: 11.88 kB / 0.7552 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007366/0.64, allocations: 0.5119 MB / 0.7557 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.64, allocations: 0 / 0.7557 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/0.64, allocations: 8 kB / 0.7557 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.6406, allocations: 139.7 kB / 0.7559 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.6406, allocations: 4 kB / 0.7559 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/0.6411, allocations: 70.86 kB / 0.7559 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.6411, allocations: 27.97 kB / 0.756 GB, free: 492 kB / 0.4948 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.0004461/0.6416, allocations: 297.2 kB / 0.7562 GB, free: 244 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.6418, allocations: 98.73 kB / 0.7563 GB, free: 148 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.642, allocations: 98.14 kB / 0.7564 GB, free: 100 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.642, allocations: 8 kB / 0.7564 GB, free: 92 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.642, allocations: 0 / 0.7564 GB, free: 92 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.642, allocations: 7.922 kB / 0.7564 GB, free: 84 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.6445, allocations: 1.532 MB / 0.7579 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6445, allocations: 4 kB / 0.7579 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.6451, allocations: 115.5 kB / 0.7581 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.6451, allocations: 3.938 kB / 0.7581 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.6452, allocations: 19.86 kB / 0.7581 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.6452, allocations: 4 kB / 0.7581 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6452, allocations: 0 / 0.7581 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.6469, allocations: 1.035 MB / 0.7591 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/0.6472, allocations: 240.3 kB / 0.7593 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.6473, allocations: 13.62 kB / 0.7593 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/0.6479, allocations: 58.27 kB / 0.7594 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/0.648, allocations: 34.77 kB / 0.7594 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.648, allocations: 18.92 kB / 0.7594 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007187/0.6487, allocations: 0.5201 MB / 0.7599 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6487, allocations: 0 / 0.7599 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008312/0.6496, allocations: 287.9 kB / 0.7602 GB, free: 13.07 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.0002121/0.6498, allocations: 135.9 kB / 0.7604 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.6514, allocations: 0.8427 MB / 0.7612 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6515, allocations: 0 / 0.7612 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005254/0.652, allocations: 296.1 kB / 0.7615 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.6533, allocations: 254.7 kB / 0.7617 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.6564, allocations: 1.851 MB / 0.7635 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.657, allocations: 0.9979 MB / 0.7645 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000699/0.6577, allocations: 118.6 kB / 0.7646 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.6579, allocations: 62.98 kB / 0.7647 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of SimCode: time 8.91e-07/0.658, allocations: 0 / 0.7647 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of Templates: time 0.0188/0.6768, allocations: 9.722 MB / 0.7741 GB, free: 15.43 MB / 0.5261 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)