Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06176/0.06176, allocations: 11.34 MB / 314.7 MB, free: 0.8281 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 71.88 kB / 438.5 MB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2291, allocations: 54.84 MB / 493.3 MB, free: 24.21 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.002939/0.232, allocations: 2.26 MB / 495.6 MB, free: 22.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.2337, allocations: 1.034 MB / 496.6 MB, free: 21.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.2339, allocations: 15.12 kB / 496.6 MB, free: 21.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.2341, allocations: 89.72 kB / 496.7 MB, free: 21.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.2343, allocations: 77.72 kB / 496.8 MB, free: 21.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008064/0.2351, allocations: 332.8 kB / 497.1 MB, free: 21.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005695/0.2356, allocations: 0.6231 MB / 497.8 MB, free: 21.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.2358, allocations: 63.48 kB / 497.8 MB, free: 21.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.236, allocations: 225.8 kB / 498 MB, free: 21.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.2363, allocations: 261.8 kB / 498.3 MB, free: 21.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.2364, allocations: 39.59 kB / 498.3 MB, free: 21.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.2365, allocations: 105.3 kB / 498.4 MB, free: 21.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.2367, allocations: 161.9 kB / 498.6 MB, free: 20.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.2368, allocations: 232.5 kB / 498.8 MB, free: 20.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.2373, allocations: 0.5269 MB / 499.4 MB, free: 20.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2373, allocations: 5.156 kB / 499.4 MB, free: 20.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2373, allocations: 0 / 499.4 MB, free: 20.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.2373, allocations: 0 / 499.4 MB, free: 20.37 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001244/0.2386, allocations: 0.9027 MB / 0.4885 GB, free: 19.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2386, allocations: 14.08 kB / 0.4885 GB, free: 19.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.2387, allocations: 66.95 kB / 0.4886 GB, free: 19.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.2392, allocations: 455.9 kB / 0.489 GB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.2392, allocations: 31.06 kB / 0.4891 GB, free: 19.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/0.2393, allocations: 50.42 kB / 0.4891 GB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.24, allocations: 0.5551 MB / 0.4897 GB, free: 18.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.24, allocations: 3.594 kB / 0.4897 GB, free: 18.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.2401, allocations: 17.38 kB / 0.4897 GB, free: 18.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.2401, allocations: 10.72 kB / 0.4897 GB, free: 18.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000643/0.2407, allocations: 413.8 kB / 0.4901 GB, free: 18.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.2432, allocations: 2.153 MB / 0.4922 GB, free: 16.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.2437, allocations: 253.1 kB / 0.4924 GB, free: 16.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.244, allocations: 164.8 kB / 0.4926 GB, free: 16.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.244, allocations: 8.234 kB / 0.4926 GB, free: 16.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003446/0.2443, allocations: 265.1 kB / 0.4929 GB, free: 16.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.405e-06/0.2443, allocations: 1.531 kB / 0.4929 GB, free: 16.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009974/0.2453, allocations: 0.5799 MB / 0.4934 GB, free: 16.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.2454, allocations: 86.2 kB / 0.4935 GB, free: 16.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.2458, allocations: 0.5158 MB / 0.494 GB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.2459, allocations: 32.14 kB / 0.494 GB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.246, allocations: 301.5 kB / 0.4943 GB, free: 15.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/0.2461, allocations: 140.5 kB / 0.4945 GB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.2462, allocations: 123.4 kB / 0.4946 GB, free: 15.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.2463, allocations: 366.3 kB / 0.4949 GB, free: 14.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.2466, allocations: 167.8 kB / 0.4951 GB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.2469, allocations: 363.1 kB / 0.4954 GB, free: 14.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.2489, allocations: 1.115 MB / 0.4965 GB, free: 13.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.2489, allocations: 2.469 kB / 0.4965 GB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001014/0.2499, allocations: 0.7491 MB / 0.4973 GB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.2499, allocations: 39.44 kB / 0.4973 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.25, allocations: 6.281 kB / 0.4973 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.25, allocations: 9 kB / 0.4973 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.2505, allocations: 141.9 kB / 0.4974 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.2505, allocations: 13.08 kB / 0.4975 GB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.2508, allocations: 74.28 kB / 0.4975 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.2508, allocations: 30.66 kB / 0.4976 GB, free: 13.18 MB / 366.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 1 * 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.000307/0.2511, allocations: 284.6 kB / 0.4978 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.2512, allocations: 52.77 kB / 0.4979 GB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007598/0.2519, allocations: 0.5215 MB / 0.4984 GB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2519, allocations: 8.062 kB / 0.4984 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2519, allocations: 0 / 0.4984 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2519, allocations: 5.375 kB / 0.4984 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.2523, allocations: 495.5 kB / 0.4989 GB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.2524, allocations: 0 / 0.4989 GB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.2528, allocations: 78.92 kB / 0.4989 GB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2528, allocations: 2.031 kB / 0.4989 GB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.2529, allocations: 19.45 kB / 0.499 GB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2529, allocations: 5.375 kB / 0.499 GB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2529, allocations: 1.688 kB / 0.499 GB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009552/0.2538, allocations: 0.7232 MB / 0.4997 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.2539, allocations: 128.6 kB / 0.4998 GB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.254, allocations: 16.23 kB / 0.4998 GB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.2542, allocations: 18.67 kB / 0.4998 GB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.2542, allocations: 22.97 kB / 0.4999 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.2543, allocations: 12.25 kB / 0.4999 GB, free: 11.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003227/0.2546, allocations: 352.2 kB / 0.5002 GB, free: 11.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2546, allocations: 0 / 0.5002 GB, free: 11.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004735/0.2551, allocations: 128.2 kB / 0.5003 GB, free: 11.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.0002007/0.2553, allocations: 148.1 kB / 0.5005 GB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007665/0.256, allocations: 0.5189 MB / 0.501 GB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.256, allocations: 0 / 0.501 GB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.2563, allocations: 240.2 kB / 0.5012 GB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.2567, allocations: 58.89 kB / 0.5013 GB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.258, allocations: 1.194 MB / 0.5024 GB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.2583, allocations: 0.8943 MB / 0.5033 GB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.2584, allocations: 38.38 kB / 0.5033 GB, free: 9.266 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2584, allocations: 0 / 0.5033 GB, free: 9.266 MB / 366.1 MB Notification: Performance of Templates: time 0.007517/0.2659, allocations: 6.216 MB / 0.5094 GB, free: 3.883 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.569922459078953] Failed to read output from testmodel.py, exit status != 0: 0.27352960500866175 0.28594758299999995 0.04554943699999994 Calling exit ...