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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01179/0.01179, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001744/0.001744, allocations: 193.3 kB / 16.67 MB, free: 5.977 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.628/1.628, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05905/0.05905, allocations: 10.75 MB / 280.7 MB, free: 10.42 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.001591/0.001591, allocations: 86.62 kB / 390.4 MB, free: 5.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.308, allocations: 49 MB / 439.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003618/0.3116, allocations: 2.1 MB / 441.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3129, allocations: 0.4968 MB / 442 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.3131, allocations: 9.656 kB / 442 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.3133, allocations: 51.81 kB / 442 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.3134, allocations: 36.64 kB / 442 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007693/0.3142, allocations: 235.1 kB / 442.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005461/0.3148, allocations: 0.4919 MB / 442.8 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.315, allocations: 86.23 kB / 442.9 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.3152, allocations: 173.4 kB / 443 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.3154, allocations: 183.9 kB / 443.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.278e-05/0.3155, allocations: 27.72 kB / 443.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.037e-05/0.3156, allocations: 28.84 kB / 443.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.3157, allocations: 119.9 kB / 443.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3159, allocations: 174.4 kB / 443.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.3163, allocations: 364.6 kB / 443.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3163, allocations: 5.438 kB / 443.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3163, allocations: 0 / 443.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.3163, allocations: 0 / 443.9 MB, free: 2.148 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.001242/0.3175, allocations: 0.709 MB / 444.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.3176, allocations: 17.08 kB / 444.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.139e-05/0.3177, allocations: 75.27 kB / 444.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.713e-05/0.3178, allocations: 47.98 kB / 444.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.3184, allocations: 380.1 kB / 445.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.319e-05/0.3185, allocations: 80.52 kB / 445.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-05/0.3186, allocations: 35.23 kB / 445.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/0.3194, allocations: 417.8 kB / 445.6 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.3194, allocations: 11.19 kB / 445.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.3194, allocations: 15.72 kB / 445.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.3195, allocations: 11.55 kB / 445.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/0.3201, allocations: 301.1 kB / 446 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/0.3229, allocations: 1.563 MB / 447.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.3234, allocations: 186 kB / 447.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.3237, allocations: 125 kB / 447.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.3237, allocations: 2.344 kB / 447.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.3238, allocations: 36.88 kB / 447.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 2.955e-06/0.3238, allocations: 0 / 447.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008275/0.3246, allocations: 340.2 kB / 448.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.3247, allocations: 61.81 kB / 448.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/0.3252, allocations: 396.4 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.3253, allocations: 30.92 kB / 448.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.3255, allocations: 236.1 kB / 448.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.161e-05/0.3256, allocations: 89.33 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3257, allocations: 71.45 kB / 449.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3259, allocations: 353.7 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.3261, allocations: 96.61 kB / 449.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.3264, allocations: 216.1 kB / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.328, allocations: 0.6298 MB / 450.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.328, allocations: 5.625 kB / 450.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006991/0.3288, allocations: 426.7 kB / 450.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3288, allocations: 5.031 kB / 450.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3288, allocations: 8.594 kB / 450.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3288, allocations: 4.906 kB / 450.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.3292, allocations: 99.88 kB / 450.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.3292, allocations: 13.42 kB / 450.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.3294, allocations: 46.7 kB / 451 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.3295, allocations: 17.69 kB / 451 MB, free: 13.45 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 (48): * Single equations (assignments): 48 * 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.0002854/0.3298, allocations: 203.1 kB / 451.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.3298, allocations: 36.03 kB / 451.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006857/0.3305, allocations: 302.4 kB / 451.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3305, allocations: 2.438 kB / 451.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.3306, allocations: 5.094 kB / 451.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3306, allocations: 0 / 451.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006468/0.3312, allocations: 388.3 kB / 451.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3312, allocations: 0 / 451.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/0.3317, allocations: 71.05 kB / 452 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.3317, allocations: 1.656 kB / 452 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.3317, allocations: 11.08 kB / 452 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.3317, allocations: 1.781 kB / 452 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3318, allocations: 3.938 kB / 452 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009101/0.3327, allocations: 0.4885 MB / 452.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.3328, allocations: 120.8 kB / 452.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.3329, allocations: 8.156 kB / 452.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.333, allocations: 9.609 kB / 452.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.3331, allocations: 19.95 kB / 452.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.3332, allocations: 12.14 kB / 452.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000347/0.3335, allocations: 274.3 kB / 452.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3335, allocations: 0 / 452.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.3339, allocations: 62.25 kB / 453 MB, free: 12.06 MB / 334.1 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.001122/0.335, allocations: 1.043 MB / 454 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006155/0.3357, allocations: 288.8 kB / 454.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3357, allocations: 0.9375 kB / 454.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.3359, allocations: 123.5 kB / 454.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.3363, allocations: 42.58 kB / 454.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005223/0.3415, allocations: 3.642 MB / 458.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.3421, allocations: 0.8262 MB / 458.9 MB, free: 7.645 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002443/0.3424, allocations: 73.41 kB / 459 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.3426, allocations: 135.5 kB / 459.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3426, allocations: 0 / 459.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.3726, allocations: 6.401 MB / 465.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.567, allocations: 3.938 kB / 465.5 MB, free: 2.172 MB / 334.1 MB (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 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)