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.001335/0.001335, allocations: 80.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001694/0.001694, allocations: 164.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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.474/1.474, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.06431/0.06431, allocations: 8.606 MB / 267.8 MB, free: 8.578 MB / 254.1 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 / 395.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.676e-05, allocations: 2.281 kB / 395.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003349/0.003375, allocations: 2.104 MB / 397.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009569/0.004332, allocations: 455.8 kB / 398.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.004491, allocations: 19.81 kB / 398.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.004737, allocations: 63.33 kB / 398.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.004861, allocations: 35.61 kB / 398.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007315/0.005592, allocations: 275.3 kB / 398.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006545/0.006247, allocations: 459.7 kB / 399 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.006448, allocations: 65.19 kB / 399 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.006714, allocations: 195.5 kB / 399.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.006968, allocations: 139.5 kB / 399.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.389e-05/0.007042, allocations: 31.94 kB / 399.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.387e-05/0.007095, allocations: 28 kB / 399.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.00726, allocations: 131.6 kB / 399.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.00744, allocations: 111.5 kB / 399.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000487/0.007927, allocations: 386.6 kB / 400 MB, free: 2.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.007931, allocations: 0 / 400 MB, free: 2.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.007933, allocations: 0 / 400 MB, free: 2.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.007944, allocations: 0 / 400 MB, free: 2.191 MB / 318.1 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.0013/0.009244, allocations: 0.6688 MB / 400.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.009288, allocations: 11.97 kB / 400.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.009389, allocations: 56.56 kB / 400.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.01004, allocations: 332 kB / 401.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/0.01008, allocations: 29.38 kB / 401.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.01018, allocations: 40.33 kB / 401.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009126/0.01109, allocations: 459.9 kB / 401.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.01112, allocations: 12.12 kB / 401.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.01117, allocations: 16.38 kB / 401.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.01118, allocations: 12.38 kB / 401.6 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.01181, allocations: 322.2 kB / 402 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/0.01452, allocations: 1.697 MB / 403.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.01499, allocations: 173.4 kB / 403.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.0152, allocations: 100.8 kB / 403.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.01524, allocations: 8 kB / 403.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.01526, allocations: 34.56 kB / 404 MB, free: 14.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.512e-06/0.01527, allocations: 0 / 404 MB, free: 14.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007964/0.01606, allocations: 329.2 kB / 404.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.01612, allocations: 67.28 kB / 404.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/0.01656, allocations: 377.4 kB / 404.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.0166, allocations: 33.7 kB / 404.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.01682, allocations: 268 kB / 405 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.407e-05/0.0169, allocations: 87.28 kB / 405.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.01704, allocations: 85.64 kB / 405.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.01725, allocations: 350.8 kB / 405.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.01746, allocations: 92.44 kB / 405.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.01782, allocations: 245.8 kB / 405.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.01948, allocations: 0.6237 MB / 406.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.902e-06/0.01949, allocations: 4 kB / 406.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007993/0.02029, allocations: 465.3 kB / 406.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.02031, allocations: 4 kB / 406.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.02032, allocations: 8 kB / 406.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.02035, allocations: 4 kB / 407 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.02072, allocations: 95.89 kB / 407 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.02074, allocations: 15.92 kB / 407.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.02094, allocations: 51.59 kB / 407.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.02097, allocations: 20 kB / 407.1 MB, free: 10.7 MB / 334.1 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.0003092/0.02128, allocations: 203.6 kB / 407.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.02135, allocations: 35.77 kB / 407.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006077/0.02196, allocations: 285 kB / 407.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.02196, allocations: 0 / 407.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.02196, allocations: 0 / 407.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.02197, allocations: 0 / 407.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.02246, allocations: 301 kB / 407.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.02247, allocations: 4 kB / 407.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.02282, allocations: 55.91 kB / 408 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.02282, allocations: 0 / 408 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.02286, allocations: 11.98 kB / 408 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.02286, allocations: 0 / 408 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.02286, allocations: 8 kB / 408 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008277/0.02369, allocations: 481.8 kB / 408.5 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.02375, allocations: 35.66 kB / 408.5 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.02379, allocations: 11.98 kB / 408.5 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.02395, allocations: 15.98 kB / 408.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.02402, allocations: 15.97 kB / 408.6 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.02403, allocations: 4 kB / 408.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00031/0.02434, allocations: 251.2 kB / 408.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02434, allocations: 192 / 408.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003935/0.02473, allocations: 75.78 kB / 408.9 MB, free: 8.883 MB / 334.1 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 0.0001567/0.02489, allocations: 115.2 kB / 409 MB, free: 8.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000595/0.02549, allocations: 281 kB / 409.3 MB, free: 8.488 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02549, allocations: 4 kB / 409.3 MB, free: 8.484 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.0257, allocations: 103.9 kB / 409.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.02608, allocations: 38.08 kB / 409.4 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.02752, allocations: 0.75 MB / 410.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.02778, allocations: 233.3 kB / 410.4 MB, free: 7.312 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.02795, allocations: 71.22 kB / 410.5 MB, free: 7.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.02804, allocations: 32.5 kB / 410.5 MB, free: 7.215 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.02804, allocations: 4 kB / 410.5 MB, free: 7.211 MB / 334.1 MB Notification: Performance of Templates: time 0.006918/0.03496, allocations: 2.097 MB / 412.6 MB, free: 5.137 MB / 334.1 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.439355339854956] Failed to read output from testmodel.py, exit status != 0: 0.0461207740008831 0.060356568000000006 0.049363969 Calling exit ...