Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.TestD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_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.006158/0.006158, allocations: 109.6 kB / 15.74 MB, free: 5.984 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.001305/0.001305, allocations: 194.9 kB / 16.67 MB, free: 5.906 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.575/1.575, allocations: 205.1 MB / 222.5 MB, free: 4.395 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05988/0.05988, allocations: 10.74 MB / 280.6 MB, free: 10.3 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.001602/0.001602, allocations: 75.78 kB / 390.3 MB, free: 5.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3272, allocations: 49.02 MB / 439.4 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.003221/0.3305, allocations: 2.165 MB / 441.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.3323, allocations: 1.035 MB / 442.6 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.3325, allocations: 18.28 kB / 442.6 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.3328, allocations: 81.66 kB / 442.7 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.333, allocations: 68.7 kB / 442.7 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009262/0.3339, allocations: 315.1 kB / 443 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006348/0.3345, allocations: 0.5837 MB / 443.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.3347, allocations: 87.12 kB / 443.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.335, allocations: 210.1 kB / 443.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.3353, allocations: 240.4 kB / 444.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.328e-05/0.3354, allocations: 33.25 kB / 444.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.3356, allocations: 114.5 kB / 444.3 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.3358, allocations: 162.3 kB / 444.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.336, allocations: 216.7 kB / 444.7 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005817/0.3366, allocations: 0.5003 MB / 445.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3366, allocations: 0 / 445.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3366, allocations: 0 / 445.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.3366, allocations: 1.281 kB / 445.2 MB, free: 1.66 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001522/0.3381, allocations: 0.8549 MB / 446 MB, free: 1.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.3382, allocations: 13.61 kB / 446 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.3383, allocations: 78.95 kB / 446.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.3384, allocations: 57.03 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/0.3391, allocations: 433.5 kB / 446.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.3392, allocations: 30.88 kB / 446.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.551e-05/0.3392, allocations: 45.72 kB / 446.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009164/0.3402, allocations: 0.5007 MB / 447.2 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.3402, allocations: 12.08 kB / 447.2 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.625e-05/0.3403, allocations: 16.39 kB / 447.2 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.3403, allocations: 14.25 kB / 447.2 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007275/0.341, allocations: 400 kB / 447.6 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.344, allocations: 1.774 MB / 449.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.3446, allocations: 276.8 kB / 449.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.3449, allocations: 177.4 kB / 449.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.345, allocations: 6.625 kB / 449.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003912/0.3454, allocations: 258.2 kB / 450.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.184e-06/0.3454, allocations: 4 kB / 450.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.00111/0.3465, allocations: 0.5766 MB / 450.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.3466, allocations: 83.14 kB / 450.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006617/0.3473, allocations: 487.3 kB / 451.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.3474, allocations: 36.02 kB / 451.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.3476, allocations: 278.2 kB / 451.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.3478, allocations: 143.8 kB / 451.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.3479, allocations: 103.5 kB / 451.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3481, allocations: 377.8 kB / 452.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.3484, allocations: 162.1 kB / 452.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/0.3488, allocations: 335.5 kB / 452.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.351, allocations: 1.077 MB / 453.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.351, allocations: 1.219 kB / 453.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001153/0.3522, allocations: 0.7188 MB / 454.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.684e-05/0.3523, allocations: 44.41 kB / 454.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.3523, allocations: 5.094 kB / 454.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.3523, allocations: 8.031 kB / 454.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.3529, allocations: 132.1 kB / 454.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.3529, allocations: 12.78 kB / 454.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.3532, allocations: 65.17 kB / 454.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.3533, allocations: 23.66 kB / 454.7 MB, free: 11.3 MB / 334.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: 23 * Number of states: 0 () * Number of discrete variables: 11 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (70): * Single equations (assignments): 69 * 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.0004995/0.3538, allocations: 283 kB / 455 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.36e-05/0.3539, allocations: 46.31 kB / 455 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008748/0.3548, allocations: 0.5192 MB / 455.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3548, allocations: 3.125 kB / 455.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3548, allocations: 1.156 kB / 455.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3548, allocations: 0 / 455.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.3554, allocations: 477.7 kB / 456 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3554, allocations: 1.375 kB / 456 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/0.3559, allocations: 91.05 kB / 456.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3559, allocations: 1.656 kB / 456.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/0.356, allocations: 20.14 kB / 456.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.356, allocations: 1.188 kB / 456.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.356, allocations: 5.594 kB / 456.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.3571, allocations: 0.7092 MB / 456.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.3573, allocations: 133.2 kB / 457 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.966e-05/0.3573, allocations: 14.95 kB / 457 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.3575, allocations: 15.86 kB / 457 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.3576, allocations: 21.91 kB / 457 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.3576, allocations: 16.28 kB / 457 MB, free: 9.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000378/0.358, allocations: 337.3 kB / 457.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.358, allocations: 0 / 457.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005592/0.3586, allocations: 109 kB / 457.5 MB, free: 9.555 MB / 334.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.00171/0.3603, allocations: 1.297 MB / 458.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009083/0.3612, allocations: 0.5511 MB / 459.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3612, allocations: 3.938 kB / 459.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.3616, allocations: 277.5 kB / 459.6 MB, free: 8.176 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.362, allocations: 52.39 kB / 459.6 MB, free: 8.145 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006391/0.3684, allocations: 4.913 MB / 464.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.369, allocations: 0.8781 MB / 465.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003133/0.3693, allocations: 108.1 kB / 465.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.3696, allocations: 179.4 kB / 465.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3696, allocations: 4 kB / 465.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.399, allocations: 9.13 MB / 474.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.743/9.142, allocations: 7.375 kB / 474.9 MB, free: 8.754 MB / 350.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1)