Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_bias.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007981/0.0007981, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001841, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.00209, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08608/1.089, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.03981/0.03981, allocations: 9.789 MB / 253.7 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006758/0.04656, allocations: 3.476 MB / 257.2 MB, free: 2.125 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 258.5 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.978e-05, allocations: 6.25 kB / 258.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.002377/0.002396, allocations: 2.268 MB / 260.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008407/0.003237, allocations: 0.6362 MB / 261.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.003378, allocations: 23.75 kB / 261.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.003524, allocations: 71.25 kB / 261.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.279e-05/0.003607, allocations: 43.48 kB / 261.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.004118, allocations: 371.2 kB / 261.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.004555, allocations: 0.5165 MB / 262.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.00472, allocations: 73.2 kB / 262.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.004953, allocations: 267.3 kB / 262.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.005165, allocations: 171.4 kB / 262.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.919e-05/0.005214, allocations: 36 kB / 263 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.24e-05/0.005256, allocations: 36 kB / 263 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/0.00535, allocations: 115.6 kB / 263.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.949e-05/0.00544, allocations: 91.69 kB / 263.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.0057, allocations: 294.7 kB / 263.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.536e-05/0.005715, allocations: 4 kB / 263.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005716, allocations: 0 / 263.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.005731, allocations: 0 / 263.5 MB, free: 11.82 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0008099/0.006541, allocations: 0.7411 MB / 264.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.006577, allocations: 8.031 kB / 264.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.006657, allocations: 72.89 kB / 264.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.007036, allocations: 345.1 kB / 264.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.00708, allocations: 33.38 kB / 264.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.007147, allocations: 48.36 kB / 264.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.007603, allocations: 376.1 kB / 265.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.007621, allocations: 8.141 kB / 265.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.00765, allocations: 20.38 kB / 265.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.007663, allocations: 12.38 kB / 265.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.007835, allocations: 145.6 kB / 265.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.009131, allocations: 1.446 MB / 266.7 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.009466, allocations: 181.9 kB / 266.9 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.968e-05/0.009526, allocations: 57.3 kB / 267 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.009558, allocations: 8.234 kB / 267 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.009588, allocations: 38.73 kB / 267 MB, free: 8.133 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/0.00959, allocations: 0 / 267 MB, free: 8.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0002589/0.009849, allocations: 168.9 kB / 267.2 MB, free: 7.965 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.009887, allocations: 55.41 kB / 267.2 MB, free: 7.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.01012, allocations: 375 kB / 267.6 MB, free: 7.523 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.01014, allocations: 29.7 kB / 267.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.01027, allocations: 253.2 kB / 267.9 MB, free: 7.234 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.01033, allocations: 122.9 kB / 268 MB, free: 7.113 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-05/0.01042, allocations: 94.08 kB / 268.1 MB, free: 7.016 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.01053, allocations: 362.7 kB / 268.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.01058, allocations: 47.97 kB / 268.5 MB, free: 6.602 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.01072, allocations: 210.7 kB / 268.7 MB, free: 6.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.01101, allocations: 373.1 kB / 269.1 MB, free: 5.883 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.01101, allocations: 3.938 kB / 269.1 MB, free: 5.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0002899/0.0113, allocations: 297.2 kB / 269.3 MB, free: 5.582 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.01132, allocations: 4 kB / 269.4 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.01133, allocations: 11.98 kB / 269.4 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.01134, allocations: 8 kB / 269.4 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.01172, allocations: 162.7 kB / 269.5 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.01173, allocations: 19.86 kB / 269.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.01183, allocations: 51.62 kB / 269.6 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.01185, allocations: 16 kB / 269.6 MB, free: 5.316 MB / 266.7 MB Warning: Assuming fixed start value for the following 9 variables: R.FBout:VARIABLE(start = R.FBstart fixed = true ) \"output (and state) of the feedback block 1/(1+sTi)\" type: Real R_Bias.FBout:VARIABLE(start = R_Bias.FBstart fixed = true ) \"output (and state) of the feedback block 1/(1+sTi)\" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) \"Delayed input vector\" type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) \"Delayed input vector\" type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) \"Delayed input vector\" type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 8 (R.ATreq_in,R.satHIGH_in,R.satLOW_in,R_Bias.ATreq_in,R_Bias.satHIGH_in,R_Bias.satLOW_in,R.TS_in,R_Bias.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0001853/0.01203, allocations: 185.9 kB / 269.8 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.01208, allocations: 27.97 kB / 269.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.01233, allocations: 217.9 kB / 270 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.01233, allocations: 4 kB / 270 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01233, allocations: 0 / 270 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01234, allocations: 0 / 270 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.01285, allocations: 0.5199 MB / 270.6 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01285, allocations: 4.031 kB / 270.6 MB, free: 4.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.01313, allocations: 107.8 kB / 270.7 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.01317, allocations: 39.66 kB / 270.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.01317, allocations: 0 / 270.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.01319, allocations: 11.98 kB / 270.7 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.0132, allocations: 7.938 kB / 270.7 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.0132, allocations: 0 / 270.7 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.0135, allocations: 381.8 kB / 271.1 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.01353, allocations: 19.98 kB / 271.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.0136, allocations: 8 kB / 271.1 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.01364, allocations: 23.89 kB / 271.2 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.01366, allocations: 8 kB / 271.2 MB, free: 3.703 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.021e-05/0.01375, allocations: 136.7 kB / 271.3 MB, free: 3.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01375, allocations: 0 / 271.3 MB, free: 3.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.01396, allocations: 87.78 kB / 271.4 MB, free: 3.488 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (R.FBout,R_Bias.FBout,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.000107/0.01407, allocations: 92.34 kB / 271.5 MB, free: 3.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.01429, allocations: 209.5 kB / 271.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/0.0143, allocations: 4 kB / 271.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/0.01437, allocations: 86.2 kB / 271.8 MB, free: 3.094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.01458, allocations: 64.75 kB / 271.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009829/0.01556, allocations: 0.8264 MB / 272.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.388e-05/0.01564, allocations: 129.6 kB / 272.8 MB, free: 2.023 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.01574, allocations: 55.36 kB / 272.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.01585, allocations: 115.4 kB / 272.9 MB, free: 1.855 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01586, allocations: 0 / 272.9 MB, free: 1.855 MB / 266.7 MB Notification: Performance of Templates: time 0.1105/0.1264, allocations: 3.078 MB / 276 MB, free: 12.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7465768298134208]