Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.0008631/0.0008631, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008532/0.0008532, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8692/0.8692, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03313/0.03313, allocations: 8.6 MB / 268.5 MB, free: 5.125 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 396.3 MB, free: 2.168 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.909e-05, allocations: 6.219 kB / 396.3 MB, free: 2.16 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002074/0.002093, allocations: 2.109 MB / 398.4 MB, free: 36 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006143/0.002707, allocations: 447.8 kB / 398.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.002824, allocations: 15.81 kB / 398.9 MB, free: 15.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.003003, allocations: 71.31 kB / 399 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.247e-05/0.003085, allocations: 39.55 kB / 399 MB, free: 15.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.003517, allocations: 271.4 kB / 399.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.003852, allocations: 448.2 kB / 399.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.003988, allocations: 65.17 kB / 399.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.00412, allocations: 199.5 kB / 400 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.004255, allocations: 143.5 kB / 400.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.004296, allocations: 28 kB / 400.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.832e-05/0.004324, allocations: 32 kB / 400.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.455e-05/0.004409, allocations: 127.5 kB / 400.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.004477, allocations: 103.7 kB / 400.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.004751, allocations: 382.6 kB / 400.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.004752, allocations: 0 / 400.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004753, allocations: 3.938 kB / 400.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.004758, allocations: 3.938 kB / 400.8 MB, free: 13.7 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0009365/0.005695, allocations: 0.6826 MB / 401.4 MB, free: 12.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.005728, allocations: 8.031 kB / 401.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.005784, allocations: 56.61 kB / 401.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.006121, allocations: 324 kB / 401.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.006143, allocations: 29.38 kB / 401.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.006185, allocations: 40.36 kB / 401.9 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.006608, allocations: 456 kB / 402.3 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.006622, allocations: 192 / 402.3 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.006644, allocations: 16.38 kB / 402.4 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.006653, allocations: 12.38 kB / 402.4 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.006988, allocations: 330.2 kB / 402.7 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.008306, allocations: 1.717 MB / 404.4 MB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.008568, allocations: 162.5 kB / 404.6 MB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.00868, allocations: 108 kB / 404.7 MB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.008701, allocations: 8 kB / 404.7 MB, free: 9.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.008719, allocations: 38.55 kB / 404.7 MB, free: 9.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.183e-06/0.00872, allocations: 0 / 404.7 MB, free: 9.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003758/0.009096, allocations: 313.6 kB / 405 MB, free: 9.238 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.009124, allocations: 59.34 kB / 405.1 MB, free: 9.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.009361, allocations: 381.4 kB / 405.5 MB, free: 8.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.009375, allocations: 29.7 kB / 405.5 MB, free: 8.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.009495, allocations: 272 kB / 405.8 MB, free: 8.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.009538, allocations: 99.2 kB / 405.8 MB, free: 8.383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.009604, allocations: 81.42 kB / 405.9 MB, free: 8.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.009687, allocations: 350.8 kB / 406.3 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.009797, allocations: 100.4 kB / 406.4 MB, free: 7.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.009953, allocations: 241.8 kB / 406.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/0.01075, allocations: 0.631 MB / 407.2 MB, free: 6.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.01075, allocations: 8 kB / 407.2 MB, free: 6.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000397/0.01115, allocations: 457.3 kB / 407.7 MB, free: 6.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.01116, allocations: 4 kB / 407.7 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01117, allocations: 11.94 kB / 407.7 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.01118, allocations: 11.94 kB / 407.7 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.01135, allocations: 83.89 kB / 407.8 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002552/0.01161, allocations: 15.92 kB / 407.8 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.383e-05/0.0117, allocations: 51.66 kB / 407.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.01171, allocations: 20 kB / 407.9 MB, free: 6.188 MB / 378.7 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) 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 ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 (R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0001578/0.01187, allocations: 213.8 kB / 408.1 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.0119, allocations: 35.77 kB / 408.1 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003099/0.01221, allocations: 292.9 kB / 408.4 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01221, allocations: 0 / 408.4 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.01222, allocations: 0 / 408.4 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01222, allocations: 0 / 408.4 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.01247, allocations: 297 kB / 408.7 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01247, allocations: 4 kB / 408.7 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.01264, allocations: 59.89 kB / 408.8 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.01264, allocations: 0 / 408.8 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.01265, allocations: 8 kB / 408.8 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01266, allocations: 8 kB / 408.8 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01266, allocations: 4 kB / 408.8 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.01307, allocations: 481.3 kB / 409.3 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.01309, allocations: 31.7 kB / 409.3 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.01312, allocations: 11.98 kB / 409.3 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.436e-05/0.01318, allocations: 15.98 kB / 409.3 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.01322, allocations: 11.97 kB / 409.3 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.01323, allocations: 8 kB / 409.3 MB, free: 4.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.01338, allocations: 247.2 kB / 409.6 MB, free: 4.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01338, allocations: 4 kB / 409.6 MB, free: 4.438 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.01359, allocations: 75.78 kB / 409.7 MB, free: 4.363 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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 7.308e-05/0.01367, allocations: 111.2 kB / 409.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.01396, allocations: 273 kB / 410 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01397, allocations: 192 / 410 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.01407, allocations: 111.7 kB / 410.1 MB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.01429, allocations: 44.16 kB / 410.2 MB, free: 3.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007616/0.01505, allocations: 0.7908 MB / 411 MB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.01519, allocations: 245.3 kB / 411.2 MB, free: 2.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.01525, allocations: 28.5 kB / 411.2 MB, free: 2.707 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01525, allocations: 0 / 411.2 MB, free: 2.707 MB / 378.7 MB Notification: Performance of Templates: time 0.004171/0.01942, allocations: 4.526 MB / 415.8 MB, free: 14.18 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.575467560440302] Failed to read output from testmodel.py, exit status != 0: 0.023976439610123634 0.031911102000000004 0.025423025000000002 Calling exit ...