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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/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: "" <> 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.007184/0.007184, allocations: 95.8 kB / 15.73 MB, free: 6.039 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.001434/0.001434, allocations: 203.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.1565/0.1565, allocations: 11.18 MB / 301.7 MB, free: 1.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 55.91 kB / 417.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2337, allocations: 51.98 MB / 469.3 MB, free: 16.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003122/0.2369, allocations: 2.213 MB / 471.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.2379, allocations: 0.5331 MB / 472.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.2381, allocations: 14.59 kB / 472.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.2383, allocations: 61.61 kB / 472.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.172e-05/0.2384, allocations: 40.12 kB / 472.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.239, allocations: 258.5 kB / 472.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00048/0.2395, allocations: 0.5313 MB / 473 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.2397, allocations: 99.33 kB / 473.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.2399, allocations: 179 kB / 473.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.2401, allocations: 186.8 kB / 473.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.045e-05/0.2402, allocations: 39.56 kB / 473.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.121e-05/0.2402, allocations: 30.25 kB / 473.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.2404, allocations: 133.6 kB / 473.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.2405, allocations: 191.9 kB / 473.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.2409, allocations: 399.2 kB / 474.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2409, allocations: 0 / 474.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.241, allocations: 1 kB / 474.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.241, allocations: 0 / 474.2 MB, free: 13.64 MB / 350.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.001171/0.2421, allocations: 0.7744 MB / 475 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2422, allocations: 17.52 kB / 475 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.07e-05/0.2423, allocations: 75.34 kB / 475.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.659e-05/0.2424, allocations: 58.78 kB / 475.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.2429, allocations: 396.6 kB / 475.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.978e-05/0.2429, allocations: 81.22 kB / 475.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/0.243, allocations: 42.39 kB / 475.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000641/0.2436, allocations: 481.2 kB / 476.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.2437, allocations: 9.312 kB / 476.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.2437, allocations: 12.12 kB / 476.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.2437, allocations: 18.98 kB / 476.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005447/0.2443, allocations: 325.2 kB / 476.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.2464, allocations: 1.953 MB / 478.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.2468, allocations: 190.6 kB / 478.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.247, allocations: 121.9 kB / 478.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.247, allocations: 1.5 kB / 478.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.2471, allocations: 32.34 kB / 478.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.635e-06/0.2471, allocations: 5.031 kB / 478.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006309/0.2477, allocations: 347.3 kB / 479.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.2477, allocations: 54.34 kB / 479.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.2482, allocations: 434 kB / 479.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2482, allocations: 29.7 kB / 479.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2483, allocations: 263.8 kB / 479.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.2484, allocations: 93.97 kB / 479.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.2485, allocations: 91.61 kB / 480 MB, free: 9.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.2486, allocations: 350.9 kB / 480.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.2488, allocations: 108.4 kB / 480.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.249, allocations: 251.3 kB / 480.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.2505, allocations: 0.6848 MB / 481.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.2505, allocations: 1.469 kB / 481.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006643/0.2512, allocations: 481 kB / 481.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2512, allocations: 7.156 kB / 481.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2512, allocations: 5.281 kB / 481.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.2512, allocations: 7.906 kB / 481.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.2516, allocations: 104.4 kB / 482 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.2516, allocations: 15.33 kB / 482 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.2519, allocations: 61.48 kB / 482.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.2519, allocations: 23.78 kB / 482.1 MB, free: 7.723 MB / 350.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 (54): * Single equations (assignments): 54 * 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.0002321/0.2521, allocations: 202.3 kB / 482.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.2522, allocations: 41.19 kB / 482.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005182/0.2527, allocations: 303.6 kB / 482.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2527, allocations: 3.375 kB / 482.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2527, allocations: 0 / 482.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2528, allocations: 3.984 kB / 482.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.2531, allocations: 419.1 kB / 483.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2531, allocations: 0 / 483.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.2535, allocations: 67.41 kB / 483.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.2536, allocations: 0.75 kB / 483.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.2536, allocations: 7.5 kB / 483.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.2536, allocations: 0.8438 kB / 483.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2536, allocations: 1.312 kB / 483.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.2542, allocations: 0.5089 MB / 483.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.2543, allocations: 116.7 kB / 483.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.2543, allocations: 7.469 kB / 483.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.2545, allocations: 13.95 kB / 483.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.2546, allocations: 16 kB / 483.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.2546, allocations: 8.719 kB / 483.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.2548, allocations: 285.9 kB / 484.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2548, allocations: 0 / 484.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.2552, allocations: 70.67 kB / 484.2 MB, free: 6.309 MB / 350.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.0008451/0.2561, allocations: 1.042 MB / 485.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000593/0.2567, allocations: 306.9 kB / 485.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2567, allocations: 0 / 485.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.2569, allocations: 129.1 kB / 485.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.2574, allocations: 38.14 kB / 485.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.2612, allocations: 3.86 MB / 489.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.2615, allocations: 0.8479 MB / 490.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.2617, allocations: 75.12 kB / 490.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.2618, allocations: 149.9 kB / 490.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2618, allocations: 0 / 490.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.2927, allocations: 6.604 MB / 497.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.471, allocations: 15.92 kB / 497.2 MB, free: 12.68 MB / 366.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)