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.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.001324/0.001324, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001325/0.001325, allocations: 186 kB / 20.78 MB, free: 1.547 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.485/1.485, allocations: 225.6 MB / 249.4 MB, free: 3.281 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.06076/0.06076, allocations: 11.32 MB / 315.8 MB, free: 332 kB / 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/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.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 0.002555/0.002555, allocations: 67.89 kB / 440.6 MB, free: 6.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3085, allocations: 54.82 MB / 495.4 MB, free: 24.53 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003795/0.3123, allocations: 2.227 MB / 497.7 MB, free: 22.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009675/0.3133, allocations: 448.7 kB / 498.1 MB, free: 22.65 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.3134, allocations: 14.19 kB / 498.1 MB, free: 22.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.3136, allocations: 67.36 kB / 498.2 MB, free: 22.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.3137, allocations: 44.81 kB / 498.2 MB, free: 22.56 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.3142, allocations: 221 kB / 498.4 MB, free: 22.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005318/0.3148, allocations: 497.8 kB / 498.9 MB, free: 22.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.3149, allocations: 68.72 kB / 499 MB, free: 22.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3151, allocations: 151.2 kB / 499.2 MB, free: 21.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.3153, allocations: 186.7 kB / 499.3 MB, free: 21.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.211e-05/0.3154, allocations: 30.06 kB / 499.4 MB, free: 21.81 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.137e-05/0.3154, allocations: 28.94 kB / 499.4 MB, free: 21.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.3156, allocations: 136.3 kB / 499.5 MB, free: 21.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.3157, allocations: 182.9 kB / 499.7 MB, free: 21.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.3161, allocations: 390.1 kB / 0.4884 GB, free: 21.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3162, allocations: 0 / 0.4884 GB, free: 21.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3162, allocations: 1.094 kB / 0.4884 GB, free: 21.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3162, allocations: 3.938 kB / 0.4884 GB, free: 21.29 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001235/0.3174, allocations: 0.7478 MB / 0.4891 GB, free: 20.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.3175, allocations: 12.95 kB / 0.4891 GB, free: 20.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.3176, allocations: 57.12 kB / 0.4892 GB, free: 20.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.3181, allocations: 399.3 kB / 0.4895 GB, free: 20.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.3181, allocations: 25.44 kB / 0.4896 GB, free: 20.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-05/0.3182, allocations: 44.95 kB / 0.4896 GB, free: 20.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000682/0.3189, allocations: 464.1 kB / 0.4901 GB, free: 19.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.3189, allocations: 6.656 kB / 0.4901 GB, free: 19.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.319, allocations: 19.28 kB / 0.4901 GB, free: 19.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.319, allocations: 9.938 kB / 0.4901 GB, free: 19.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.3195, allocations: 319.3 kB / 0.4904 GB, free: 19.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.3217, allocations: 1.886 MB / 0.4922 GB, free: 18.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.3221, allocations: 168.5 kB / 0.4924 GB, free: 18.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.3223, allocations: 106.2 kB / 0.4925 GB, free: 18.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.3223, allocations: 1.969 kB / 0.4925 GB, free: 18.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.3224, allocations: 32.19 kB / 0.4925 GB, free: 17.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.784e-06/0.3224, allocations: 4.969 kB / 0.4925 GB, free: 17.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006785/0.323, allocations: 329.2 kB / 0.4928 GB, free: 17.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.3231, allocations: 57.47 kB / 0.4929 GB, free: 17.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.3235, allocations: 428.9 kB / 0.4933 GB, free: 17.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3235, allocations: 30.98 kB / 0.4933 GB, free: 17.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.3237, allocations: 262.8 kB / 0.4936 GB, free: 17.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.3238, allocations: 85.72 kB / 0.4937 GB, free: 17.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.3239, allocations: 82.27 kB / 0.4938 GB, free: 17.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.3239, allocations: 354.1 kB / 0.4941 GB, free: 16.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.3241, allocations: 101.2 kB / 0.4942 GB, free: 16.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.3243, allocations: 245.8 kB / 0.4944 GB, free: 16.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.3256, allocations: 0.6292 MB / 0.495 GB, free: 15.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3256, allocations: 1.344 kB / 0.495 GB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006583/0.3263, allocations: 467.5 kB / 0.4955 GB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.3263, allocations: 8.5 kB / 0.4955 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.3264, allocations: 9.688 kB / 0.4955 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.3264, allocations: 7.469 kB / 0.4955 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.3267, allocations: 94.91 kB / 0.4956 GB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.3267, allocations: 14.84 kB / 0.4956 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.3269, allocations: 57.23 kB / 0.4957 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.327, allocations: 18.81 kB / 0.4957 GB, free: 15.67 MB / 366.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.0002371/0.3272, allocations: 207.4 kB / 0.4959 GB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.3272, allocations: 40.59 kB / 0.4959 GB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.3277, allocations: 290.4 kB / 0.4962 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3277, allocations: 2.625 kB / 0.4962 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3278, allocations: 3.938 kB / 0.4962 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3278, allocations: 3.984 kB / 0.4962 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.3282, allocations: 398.4 kB / 0.4966 GB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3282, allocations: 1.188 kB / 0.4966 GB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.3285, allocations: 65.48 kB / 0.4967 GB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3285, allocations: 1.188 kB / 0.4967 GB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.3285, allocations: 7.281 kB / 0.4967 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3285, allocations: 1 kB / 0.4967 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3285, allocations: 7.938 kB / 0.4967 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006475/0.3291, allocations: 476.7 kB / 0.4971 GB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/0.3292, allocations: 114 kB / 0.4972 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.3293, allocations: 7.312 kB / 0.4972 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.3294, allocations: 13.92 kB / 0.4973 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.3295, allocations: 18.36 kB / 0.4973 GB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.3295, allocations: 12.52 kB / 0.4973 GB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000272/0.3298, allocations: 286.8 kB / 0.4976 GB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3298, allocations: 96 / 0.4976 GB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004039/0.3302, allocations: 80.59 kB / 0.4976 GB, free: 14.27 MB / 366.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.0001137/0.3303, allocations: 97.19 kB / 0.4977 GB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.3308, allocations: 283.8 kB / 0.498 GB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3308, allocations: 192 / 0.498 GB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.331, allocations: 109.7 kB / 0.4981 GB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.3314, allocations: 41.86 kB / 0.4981 GB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.3327, allocations: 0.8158 MB / 0.4989 GB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.333, allocations: 0.8502 MB / 0.4998 GB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.3332, allocations: 71.3 kB / 0.4998 GB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.3333, allocations: 33.42 kB / 0.4999 GB, free: 12.64 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3333, allocations: 0 / 0.4999 GB, free: 12.64 MB / 366.1 MB Notification: Performance of Templates: time 0.006704/0.34, allocations: 2.498 MB / 0.5023 GB, free: 11.43 MB / 366.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.819515076465905]