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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestP_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestP_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008924/0.008931, allocations: 104.6 kB / 15.74 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 190 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05931/0.05931, allocations: 10.75 MB / 280.7 MB, free: 10.4 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 75.84 kB / 390.3 MB, free: 5.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2979, allocations: 49.01 MB / 439.4 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003754/0.3017, allocations: 2.101 MB / 441.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008773/0.3026, allocations: 403.7 kB / 441.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.3028, allocations: 14.12 kB / 441.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.303, allocations: 58.67 kB / 441.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.777e-05/0.3032, allocations: 32.58 kB / 442 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.3037, allocations: 190.5 kB / 442.1 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000459/0.3042, allocations: 462.2 kB / 442.6 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.3044, allocations: 94.06 kB / 442.7 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.3045, allocations: 149.1 kB / 442.8 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.3048, allocations: 166 kB / 443 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.3049, allocations: 26.84 kB / 443 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.503e-05/0.3049, allocations: 26.28 kB / 443 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.3051, allocations: 124.1 kB / 443.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.3053, allocations: 172.9 kB / 443.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004126/0.3057, allocations: 347.4 kB / 443.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3057, allocations: 5.922 kB / 443.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3057, allocations: 0 / 443.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3057, allocations: 0 / 443.7 MB, free: 2.43 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001169/0.3069, allocations: 0.6978 MB / 444.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.307, allocations: 13.05 kB / 444.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.953e-05/0.3071, allocations: 69.72 kB / 444.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.167e-05/0.3072, allocations: 50.75 kB / 444.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.3077, allocations: 382.4 kB / 444.9 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.3077, allocations: 21.5 kB / 444.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/0.3078, allocations: 36.25 kB / 444.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007133/0.3085, allocations: 400.8 kB / 445.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.3085, allocations: 14.41 kB / 445.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.3086, allocations: 14.75 kB / 445.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.3086, allocations: 8.5 kB / 445.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005834/0.3092, allocations: 291.7 kB / 445.6 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.3113, allocations: 1.49 MB / 447.1 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.3117, allocations: 179.7 kB / 447.3 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.3119, allocations: 108.2 kB / 447.4 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.312, allocations: 7.516 kB / 447.4 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.312, allocations: 39.88 kB / 447.5 MB, free: 44 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.372e-06/0.312, allocations: 1.25 kB / 447.5 MB, free: 44 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006543/0.3126, allocations: 313.7 kB / 447.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.3127, allocations: 61.97 kB / 447.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.3131, allocations: 390.9 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3131, allocations: 35.02 kB / 448.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.3133, allocations: 239.5 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.092e-05/0.3134, allocations: 80.94 kB / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-05/0.3135, allocations: 76.42 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3136, allocations: 357.4 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.3138, allocations: 89.84 kB / 449.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.3141, allocations: 213.4 kB / 449.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.3156, allocations: 0.5756 MB / 449.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3156, allocations: 0 / 449.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006167/0.3163, allocations: 417.2 kB / 450.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3163, allocations: 10.56 kB / 450.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3163, allocations: 4.156 kB / 450.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.3163, allocations: 5.031 kB / 450.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.3167, allocations: 86.83 kB / 450.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.3167, allocations: 13.7 kB / 450.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.3169, allocations: 51.45 kB / 450.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.3169, allocations: 16.25 kB / 450.5 MB, free: 13.96 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: 16 * Number of states: 0 () * Number of discrete variables: 4 (R_Bias.TS_in,R.TS_in,R_Bias.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002367/0.3172, allocations: 180.5 kB / 450.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.3172, allocations: 42.28 kB / 450.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005685/0.3178, allocations: 292.9 kB / 451 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3178, allocations: 6.422 kB / 451 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3178, allocations: 1.375 kB / 451 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3179, allocations: 3.938 kB / 451 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.3183, allocations: 380.1 kB / 451.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3183, allocations: 0 / 451.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.3186, allocations: 65.33 kB / 451.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3187, allocations: 9.25 kB / 451.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.3187, allocations: 6.75 kB / 451.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3187, allocations: 9.359 kB / 451.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3187, allocations: 1.375 kB / 451.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006689/0.3194, allocations: 469.2 kB / 451.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.681e-05/0.3195, allocations: 117.3 kB / 452 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.3195, allocations: 6.469 kB / 452 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.3197, allocations: 14.77 kB / 452 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.3197, allocations: 15.44 kB / 452 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.3198, allocations: 7.531 kB / 452 MB, free: 12.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002894/0.3201, allocations: 274.4 kB / 452.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3201, allocations: 0 / 452.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000386/0.3205, allocations: 61.41 kB / 452.4 MB, free: 12.61 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.001036/0.3215, allocations: 1.014 MB / 453.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.322, allocations: 276.9 kB / 453.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.322, allocations: 0 / 453.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.3223, allocations: 108.2 kB / 453.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.3226, allocations: 35.19 kB / 453.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/0.3273, allocations: 3.525 MB / 457.3 MB, free: 9.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.3278, allocations: 0.8277 MB / 458.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.328, allocations: 73.47 kB / 458.2 MB, free: 8.262 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.3282, allocations: 140 kB / 458.4 MB, free: 8.145 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3282, allocations: 0 / 458.4 MB, free: 8.145 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.3626, allocations: 6.221 MB / 464.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/8.787, allocations: 8.688 kB / 464.6 MB, free: 3.234 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1)