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 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.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.007218/0.007218, allocations: 100.8 kB / 15.73 MB, free: 5.98 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.001271/0.001271, allocations: 201.6 kB / 16.68 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.557/1.557, 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.05988/0.05988, allocations: 10.74 MB / 280.7 MB, free: 10.45 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.001743/0.001743, allocations: 83.83 kB / 390.4 MB, free: 5.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3479, allocations: 49.01 MB / 439.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.006707/0.3546, allocations: 2.113 MB / 441.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.3568, allocations: 0.5429 MB / 442 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006095/0.3575, allocations: 14.75 kB / 442 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.3579, allocations: 50.33 kB / 442.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.3584, allocations: 40.53 kB / 442.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.3599, allocations: 259.5 kB / 442.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.3614, allocations: 0.5016 MB / 442.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.3618, allocations: 91.16 kB / 443 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005247/0.3623, allocations: 171.1 kB / 443.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006212/0.363, allocations: 186.6 kB / 443.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.3632, allocations: 27.62 kB / 443.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.3634, allocations: 28.91 kB / 443.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003368/0.3638, allocations: 127.1 kB / 443.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004795/0.3643, allocations: 170.5 kB / 443.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009066/0.3652, allocations: 384 kB / 444 MB, free: 2.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3652, allocations: 0 / 444 MB, free: 2.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.3653, allocations: 0 / 444 MB, free: 2.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.551e-05/0.3653, allocations: 1.344 kB / 444 MB, free: 2.238 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002572/0.3679, allocations: 0.7134 MB / 444.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.29e-05/0.368, allocations: 13.23 kB / 444.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/0.3682, allocations: 75.03 kB / 444.8 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.3685, allocations: 51.19 kB / 444.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009889/0.3695, allocations: 387.6 kB / 445.3 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/0.3696, allocations: 31.25 kB / 445.3 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.3697, allocations: 36.48 kB / 445.3 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.371, allocations: 419.5 kB / 445.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.3711, allocations: 14 kB / 445.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/0.3712, allocations: 13.02 kB / 445.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.3712, allocations: 8.406 kB / 445.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.3723, allocations: 313 kB / 446.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004162/0.3765, allocations: 1.52 MB / 447.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.3779, allocations: 229.1 kB / 447.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004231/0.3784, allocations: 125.8 kB / 447.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.3784, allocations: 3.562 kB / 447.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.3785, allocations: 35.94 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.515e-06/0.3785, allocations: 0 / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001384/0.3799, allocations: 360.3 kB / 448.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.38, allocations: 59.44 kB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/0.3809, allocations: 402.5 kB / 448.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.381, allocations: 33.64 kB / 448.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.3813, allocations: 232.5 kB / 449 MB, free: 14.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.3814, allocations: 101.7 kB / 449.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.3817, allocations: 80.97 kB / 449.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002504/0.382, allocations: 349.9 kB / 449.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.3824, allocations: 103.5 kB / 449.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/0.383, allocations: 218.6 kB / 449.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003606/0.3866, allocations: 0.6759 MB / 450.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.3867, allocations: 4 kB / 450.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001356/0.388, allocations: 449.5 kB / 451 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.3881, allocations: 7.344 kB / 451 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3881, allocations: 6.75 kB / 451 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.3882, allocations: 6.875 kB / 451 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/0.3889, allocations: 105.2 kB / 451.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/0.389, allocations: 5.531 kB / 451.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/0.3894, allocations: 47.45 kB / 451.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.3895, allocations: 17.56 kB / 451.2 MB, free: 13.52 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 (51): * Single equations (assignments): 51 * 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.0004514/0.39, allocations: 205.1 kB / 451.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.3901, allocations: 44.02 kB / 451.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.3913, allocations: 342.4 kB / 451.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.3913, allocations: 2.406 kB / 451.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3913, allocations: 1.031 kB / 451.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3913, allocations: 0 / 451.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000874/0.3922, allocations: 397.8 kB / 452.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3923, allocations: 1.469 kB / 452.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000773/0.393, allocations: 78.52 kB / 452.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.3931, allocations: 5.344 kB / 452.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.3931, allocations: 12.52 kB / 452.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.3931, allocations: 1.438 kB / 452.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.3932, allocations: 7.938 kB / 452.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.3946, allocations: 0.5157 MB / 452.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.3948, allocations: 129.2 kB / 452.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.435e-05/0.3949, allocations: 11.5 kB / 452.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.3953, allocations: 14.77 kB / 452.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3954, allocations: 17.06 kB / 453 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.3954, allocations: 9.406 kB / 453 MB, free: 12.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000574/0.396, allocations: 271.7 kB / 453.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.396, allocations: 0 / 453.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006415/0.3967, allocations: 72.72 kB / 453.3 MB, free: 12.07 MB / 334.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.001225/0.3979, allocations: 1.075 MB / 454.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006561/0.3986, allocations: 312.8 kB / 454.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3986, allocations: 0 / 454.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.3989, allocations: 131.9 kB / 454.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.3993, allocations: 39.55 kB / 454.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005441/0.4047, allocations: 3.728 MB / 458.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.4052, allocations: 0.8378 MB / 459.4 MB, free: 7.598 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002464/0.4055, allocations: 76.31 kB / 459.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.4057, allocations: 153.6 kB / 459.6 MB, free: 7.438 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4057, allocations: 1.125 kB / 459.6 MB, free: 7.438 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.4377, allocations: 6.691 MB / 466.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.638, allocations: 12 kB / 466.3 MB, free: 1.508 MB / 334.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)