Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_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.005965/0.005965, allocations: 97.92 kB / 15.73 MB, free: 6.004 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.001385/0.001385, allocations: 197.5 kB / 16.67 MB, free: 5.922 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.1744/0.1744, allocations: 11.18 MB / 301.7 MB, free: 1.242 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 71.88 kB / 417.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2432, allocations: 51.97 MB / 469.3 MB, free: 16.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.003262/0.2465, allocations: 2.258 MB / 471.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2476, allocations: 0.5956 MB / 472.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.2478, allocations: 14.34 kB / 472.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.248, allocations: 66.98 kB / 472.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.2481, allocations: 35.44 kB / 472.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.2489, allocations: 280.3 kB / 472.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006117/0.2495, allocations: 0.5725 MB / 473.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.2497, allocations: 94.55 kB / 473.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.2499, allocations: 187 kB / 473.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.2502, allocations: 198.7 kB / 473.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.601e-05/0.2503, allocations: 35.61 kB / 473.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.389e-05/0.2503, allocations: 31.62 kB / 473.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.2505, allocations: 140 kB / 473.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.2506, allocations: 195.8 kB / 474 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.251, allocations: 410.2 kB / 474.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2511, allocations: 0 / 474.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2511, allocations: 1.375 kB / 474.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.2511, allocations: 0 / 474.4 MB, free: 13.44 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001062/0.2521, allocations: 0.7751 MB / 475.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2522, allocations: 13.36 kB / 475.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.892e-05/0.2523, allocations: 79.45 kB / 475.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.643e-05/0.2524, allocations: 58.69 kB / 475.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.2528, allocations: 404.3 kB / 475.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.2529, allocations: 29.47 kB / 475.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-05/0.253, allocations: 43.69 kB / 475.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.2537, allocations: 492.4 kB / 476.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.2537, allocations: 6.562 kB / 476.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.2537, allocations: 15.56 kB / 476.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.2537, allocations: 10.5 kB / 476.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005451/0.2543, allocations: 344.5 kB / 476.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.2564, allocations: 1.945 MB / 478.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.2571, allocations: 232.7 kB / 478.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.2574, allocations: 121.5 kB / 478.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.2574, allocations: 11.88 kB / 478.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.2574, allocations: 39.41 kB / 479 MB, free: 9.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.903e-06/0.2574, allocations: 1.219 kB / 479 MB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006904/0.2581, allocations: 369.6 kB / 479.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.2582, allocations: 54.16 kB / 479.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.2585, allocations: 442.6 kB / 479.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.2586, allocations: 32.61 kB / 479.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.2587, allocations: 269.6 kB / 480.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.2587, allocations: 104.2 kB / 480.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.2589, allocations: 94.61 kB / 480.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.2589, allocations: 358.3 kB / 480.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.2591, allocations: 112.6 kB / 480.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.2594, allocations: 276 kB / 481 MB, free: 8.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.2612, allocations: 0.7534 MB / 481.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2612, allocations: 1.281 kB / 481.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000707/0.2619, allocations: 0.4933 MB / 482.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.2619, allocations: 7.281 kB / 482.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2619, allocations: 6.281 kB / 482.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.262, allocations: 12.34 kB / 482.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.2623, allocations: 116.2 kB / 482.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.2624, allocations: 12.25 kB / 482.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2626, allocations: 62.73 kB / 482.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.2626, allocations: 25.2 kB / 482.5 MB, free: 7.434 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: 24 * 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 (59): * Single equations (assignments): 59 * 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.0002104/0.2628, allocations: 200.9 kB / 482.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.2629, allocations: 41.22 kB / 482.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005607/0.2635, allocations: 344.2 kB / 483.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2635, allocations: 7.219 kB / 483.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2635, allocations: 3.984 kB / 483.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2635, allocations: 0 / 483.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.2639, allocations: 416.3 kB / 483.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2639, allocations: 0 / 483.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.2643, allocations: 82.62 kB / 483.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2643, allocations: 1.375 kB / 483.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.2643, allocations: 24.45 kB / 483.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.2643, allocations: 9.109 kB / 483.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2643, allocations: 0 / 483.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/0.265, allocations: 0.5184 MB / 484.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.35e-05/0.2651, allocations: 121.6 kB / 484.3 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.2652, allocations: 11.45 kB / 484.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.2653, allocations: 21.98 kB / 484.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.2654, allocations: 13.11 kB / 484.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.2654, allocations: 13.55 kB / 484.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000239/0.2656, allocations: 294 kB / 484.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2656, allocations: 0 / 484.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.266, allocations: 73.47 kB / 484.7 MB, free: 5.965 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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.0008004/0.2668, allocations: 1.083 MB / 485.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.2673, allocations: 331.3 kB / 486.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2673, allocations: 0 / 486.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.2675, allocations: 128.2 kB / 486.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.2679, allocations: 48.78 kB / 486.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.2718, allocations: 3.995 MB / 490.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.272, allocations: 0.8508 MB / 491.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000202/0.2722, allocations: 79.58 kB / 491.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.2724, allocations: 163.6 kB / 491.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2724, allocations: 3.938 kB / 491.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.3023, allocations: 6.986 MB / 498.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/8.527, allocations: 13.02 kB / 498.4 MB, free: 11.48 MB / 366.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1)