Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.0009546/0.0009546, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009682/0.0009682, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9167/0.9167, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.036/0.036, allocations: 8.6 MB / 267.8 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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 395.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.683e-05, allocations: 9.234 kB / 395.1 MB, free: 2.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002229/0.002246, allocations: 2.108 MB / 397.2 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007491/0.002995, allocations: 0.5269 MB / 397.7 MB, free: 12 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.003124, allocations: 19.92 kB / 397.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.0033, allocations: 59.22 kB / 397.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.609e-05/0.003376, allocations: 55.47 kB / 397.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.003924, allocations: 315.3 kB / 398.2 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.004302, allocations: 484.1 kB / 398.6 MB, free: 15.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.004441, allocations: 65.19 kB / 398.7 MB, free: 15.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.004599, allocations: 219.5 kB / 398.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.004772, allocations: 159.5 kB / 399.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.004812, allocations: 28 kB / 399.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.875e-05/0.004841, allocations: 32 kB / 399.1 MB, free: 14.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-05/0.004935, allocations: 127.6 kB / 399.2 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.976e-05/0.005015, allocations: 111.6 kB / 399.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005692/0.005584, allocations: 402.5 kB / 399.7 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005586, allocations: 0 / 399.7 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.005587, allocations: 0 / 399.7 MB, free: 13.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.005592, allocations: 0 / 399.7 MB, free: 13.97 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.0007974/0.006389, allocations: 0.696 MB / 400.4 MB, free: 13.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.00643, allocations: 8.031 kB / 400.4 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.924e-05/0.006489, allocations: 78.7 kB / 400.5 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.006549, allocations: 56.61 kB / 400.6 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.006929, allocations: 332 kB / 400.9 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/0.006989, allocations: 80.97 kB / 401 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.007036, allocations: 40.38 kB / 401 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.007501, allocations: 483.9 kB / 401.5 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.00752, allocations: 8.125 kB / 401.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.007543, allocations: 16.38 kB / 401.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.007553, allocations: 15.94 kB / 401.5 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.007921, allocations: 318.3 kB / 401.8 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.009537, allocations: 1.849 MB / 403.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.009826, allocations: 178.5 kB / 403.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.00995, allocations: 112.8 kB / 404 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.009977, allocations: 7.984 kB / 404 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.009995, allocations: 34.56 kB / 404 MB, free: 9.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/0.009997, allocations: 0 / 404 MB, free: 9.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004482/0.01044, allocations: 352.8 kB / 404.4 MB, free: 9.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.01048, allocations: 59.39 kB / 404.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.01077, allocations: 433.7 kB / 404.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.01079, allocations: 29.7 kB / 404.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.01091, allocations: 272.1 kB / 405.1 MB, free: 8.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.01096, allocations: 91.28 kB / 405.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/0.01103, allocations: 82.02 kB / 405.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.01113, allocations: 350.8 kB / 405.7 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.01125, allocations: 108.8 kB / 405.8 MB, free: 7.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.01144, allocations: 262.4 kB / 406 MB, free: 7.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.01265, allocations: 0.6656 MB / 406.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.01266, allocations: 4 kB / 406.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000458/0.01311, allocations: 493.5 kB / 407.2 MB, free: 6.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.01313, allocations: 11.98 kB / 407.2 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01314, allocations: 4 kB / 407.2 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.01315, allocations: 8 kB / 407.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.01336, allocations: 99.81 kB / 407.3 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.01337, allocations: 4 kB / 407.3 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.01348, allocations: 59.61 kB / 407.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.0135, allocations: 20 kB / 407.4 MB, free: 5.918 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 (54): * Single equations (assignments): 54 * 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.0001712/0.01367, allocations: 203.5 kB / 407.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.01371, allocations: 43.69 kB / 407.6 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.01406, allocations: 312.3 kB / 407.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01406, allocations: 0 / 407.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01406, allocations: 4 kB / 407.9 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01407, allocations: 3.938 kB / 407.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.01435, allocations: 352.4 kB / 408.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01436, allocations: 0 / 408.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.01458, allocations: 75.88 kB / 408.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.01458, allocations: 0 / 408.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.0146, allocations: 8 kB / 408.3 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.0146, allocations: 0 / 408.3 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.0146, allocations: 8 kB / 408.4 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.01507, allocations: 0.491 MB / 408.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.01511, allocations: 39.66 kB / 408.9 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.01514, allocations: 8 kB / 408.9 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.01521, allocations: 19.98 kB / 408.9 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.01526, allocations: 19.95 kB / 408.9 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.01527, allocations: 4 kB / 408.9 MB, free: 4.277 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001987/0.01547, allocations: 287.1 kB / 409.2 MB, free: 3.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01547, allocations: 4 kB / 409.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.01571, allocations: 75.84 kB / 409.3 MB, free: 3.918 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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.0006045/0.01631, allocations: 1.042 MB / 410.3 MB, free: 2.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.01665, allocations: 300.5 kB / 410.6 MB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01665, allocations: 0 / 410.6 MB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.01678, allocations: 114.9 kB / 410.7 MB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.01703, allocations: 41.58 kB / 410.8 MB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.02047, allocations: 3.803 MB / 414.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.02065, allocations: 241.1 kB / 414.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.02078, allocations: 79.22 kB / 414.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.02093, allocations: 148.5 kB / 415 MB, free: 13.91 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02093, allocations: 0 / 415 MB, free: 13.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.04009, allocations: 7.283 MB / 422.3 MB, free: 6.777 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.077, allocations: 7.703 kB / 422.3 MB, free: 6.773 MB / 394.7 MB " [Timeout remaining time 653] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.859169626608491] Failed to read output from testmodel.py, exit status != 0: 7.163726082071662 7.1738806330000005 7.166624742 Calling exit ...