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.001005/0.001005, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001313/0.001313, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05452/0.05452, allocations: 10.75 MB / 281.1 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.0004733/0.0004734, allocations: 16 kB / 341.7 MB, free: 23.71 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07132/0.0718, allocations: 49.99 MB / 391.7 MB, free: 5.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.00204/0.07388, allocations: 1.727 MB / 393.5 MB, free: 3.914 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000836/0.07475, allocations: 486.8 kB / 393.9 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.07488, allocations: 11.88 kB / 393.9 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.07504, allocations: 39.66 kB / 394 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.668e-05/0.07512, allocations: 19.81 kB / 394 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.07559, allocations: 187.7 kB / 394.2 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004197/0.07602, allocations: 435.3 kB / 394.6 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.07617, allocations: 80.56 kB / 394.7 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.07634, allocations: 147.3 kB / 394.8 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.07655, allocations: 167.2 kB / 395 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.07661, allocations: 12 kB / 395 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.142e-05/0.07664, allocations: 12 kB / 395 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.07676, allocations: 103.6 kB / 395.1 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.07e-05/0.07684, allocations: 77.52 kB / 395.2 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.07707, allocations: 243.7 kB / 395.4 MB, free: 1.926 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.07708, allocations: 8 kB / 395.4 MB, free: 1.918 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.07709, allocations: 0 / 395.4 MB, free: 1.918 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.0771, allocations: 4 kB / 395.4 MB, free: 1.914 MB / 286.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.000942/0.07805, allocations: 0.6617 MB / 396.1 MB, free: 1.207 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.07809, allocations: 8.031 kB / 396.1 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.247e-05/0.07817, allocations: 70.53 kB / 396.2 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/0.07825, allocations: 59.39 kB / 396.2 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.07865, allocations: 338.8 kB / 396.6 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.884e-05/0.07873, allocations: 84.05 kB / 396.6 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/0.07879, allocations: 39.91 kB / 396.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006391/0.07944, allocations: 415.5 kB / 397.1 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.07947, allocations: 4 kB / 397.1 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.07951, allocations: 12 kB / 397.1 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.639e-06/0.07953, allocations: 8 kB / 397.1 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005428/0.08007, allocations: 314.3 kB / 397.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.08225, allocations: 1.579 MB / 399 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.08263, allocations: 183.1 kB / 399.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.08283, allocations: 125.2 kB / 399.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.08287, allocations: 4.188 kB / 399.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.0829, allocations: 34.73 kB / 399.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.044e-06/0.08291, allocations: 7.938 kB / 399.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006184/0.08353, allocations: 347.8 kB / 399.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.08358, allocations: 51.41 kB / 399.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.08396, allocations: 409.4 kB / 400.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.08399, allocations: 25.7 kB / 400.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.08415, allocations: 235.9 kB / 400.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.08422, allocations: 86.81 kB / 400.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.08424, allocations: 4 kB / 400.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.08438, allocations: 350.8 kB / 400.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.08458, allocations: 108.6 kB / 400.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.08485, allocations: 224.8 kB / 401.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.08511, allocations: 149.1 kB / 401.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.08512, allocations: 3.938 kB / 401.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006532/0.08578, allocations: 447.7 kB / 401.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.08581, allocations: 8 kB / 401.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.08582, allocations: 0 / 401.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.08584, allocations: 8 kB / 401.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.08623, allocations: 100.3 kB / 401.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.08626, allocations: 12 kB / 401.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.08643, allocations: 51.47 kB / 401.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.08647, allocations: 16 kB / 401.9 MB, free: 11.08 MB / 302.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] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002521/0.08673, allocations: 195.6 kB / 402.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.08679, allocations: 35.53 kB / 402.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.08736, allocations: 316.8 kB / 402.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.08738, allocations: 0 / 402.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.08739, allocations: 0 / 402.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.0874, allocations: 7.984 kB / 402.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.08781, allocations: 385.4 kB / 402.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.08782, allocations: 0 / 402.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/0.08821, allocations: 71.88 kB / 402.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.08823, allocations: 4 kB / 402.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.08826, allocations: 8 kB / 402.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.08827, allocations: 4 kB / 402.9 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.08827, allocations: 3.938 kB / 402.9 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.08896, allocations: 0.5062 MB / 403.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.624e-05/0.08906, allocations: 116.7 kB / 403.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.08911, allocations: 11.94 kB / 403.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.08926, allocations: 19.98 kB / 403.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.08931, allocations: 19.91 kB / 403.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.08933, allocations: 8 kB / 403.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002518/0.08959, allocations: 271.1 kB / 403.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08959, allocations: 0 / 403.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.08993, allocations: 67.75 kB / 403.9 MB, free: 8.953 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009004/0.09083, allocations: 1.044 MB / 405 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004879/0.09134, allocations: 284.6 kB / 405.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.09135, allocations: 4 kB / 405.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.09155, allocations: 127.7 kB / 405.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.09189, allocations: 41.44 kB / 405.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.09528, allocations: 2.488 MB / 407.9 MB, free: 4.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.09569, allocations: 0.834 MB / 408.8 MB, free: 3.988 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.0959, allocations: 75.23 kB / 408.8 MB, free: 3.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.09609, allocations: 135.4 kB / 409 MB, free: 3.785 MB / 302.1 MB Notification: Performance of SimCode: time 2.965e-06/0.0961, allocations: 112 / 409 MB, free: 3.785 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.1129, allocations: 6.026 MB / 415 MB, free: 13.86 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.1132, allocations: 207.3 kB / 415.2 MB, free: 13.61 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.751, allocations: 0 / 415.2 MB, free: 13.61 MB / 318.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/linux/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) Environment - environmentSimulation: