Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001524, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08055/0.08055, allocations: 10.66 MB / 18.73 MB, free: 1.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.3 MB / 226.9 MB, free: 7.824 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001115, allocations: 86.44 kB / 277.3 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.228e-05/2.224e-05, allocations: 4 kB / 333.6 MB, free: 28.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1366, allocations: 50 MB / 383.6 MB, free: 10.26 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/0.549, allocations: 78.38 MB / 462 MB, free: 5.941 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.5494, allocations: 77.89 kB / 462.1 MB, free: 5.902 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01607/0.5655, allocations: 5.313 MB / 467.4 MB, free: 1.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5656, allocations: 4 kB / 467.4 MB, free: 1.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.861e-05/0.5656, allocations: 16.64 kB / 467.4 MB, free: 1.324 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00124/0.5669, allocations: 0.6902 MB / 468.1 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.5669, allocations: 8.031 kB / 468.1 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.5671, allocations: 55.34 kB / 468.2 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009276/0.568, allocations: 460.7 kB / 468.6 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-05/0.5681, allocations: 68.19 kB / 468.7 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.5682, allocations: 27.91 kB / 468.7 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005298/0.5687, allocations: 301 kB / 469 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006578/0.5694, allocations: 450.6 kB / 469.4 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.5694, allocations: 7.266 kB / 469.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.5695, allocations: 4 kB / 469.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.5695, allocations: 12 kB / 469.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/0.5722, allocations: 1.61 MB / 471.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007891/0.573, allocations: 262.1 kB / 471.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.5733, allocations: 146.7 kB / 471.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.884e-05/0.5733, allocations: 4.281 kB / 471.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.5734, allocations: 38.84 kB / 471.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.085e-06/0.5734, allocations: 0 / 471.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005439/0.5739, allocations: 294.8 kB / 471.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.574, allocations: 55.41 kB / 471.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.5743, allocations: 303.6 kB / 472.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.5744, allocations: 26.55 kB / 472.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.5745, allocations: 252.8 kB / 472.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.5746, allocations: 129.3 kB / 472.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.5747, allocations: 0 / 472.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.5749, allocations: 358.2 kB / 472.9 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.575, allocations: 103.3 kB / 473 MB, free: 12.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.5753, allocations: 223.8 kB / 473.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.5756, allocations: 161 kB / 473.4 MB, free: 12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5756, allocations: 0 / 473.4 MB, free: 12 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006272/0.5762, allocations: 442 kB / 473.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.5762, allocations: 14.48 kB / 473.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5763, allocations: 7.938 kB / 473.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.5763, allocations: 8 kB / 473.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.5768, allocations: 119.1 kB / 474 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.5768, allocations: 11.89 kB / 474 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.577, allocations: 39.58 kB / 474 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.5771, allocations: 24.28 kB / 474 MB, free: 11.44 MB / 346.7 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001902/0.5773, allocations: 130.3 kB / 474.2 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000439/0.5777, allocations: 298.1 kB / 474.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.5778, allocations: 43.48 kB / 474.5 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005881/0.5784, allocations: 345.9 kB / 474.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.5784, allocations: 7.938 kB / 474.8 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5784, allocations: 0 / 474.8 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.5784, allocations: 3.984 kB / 474.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.5789, allocations: 385.4 kB / 475.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.5789, allocations: 0 / 475.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.5794, allocations: 105.6 kB / 475.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5795, allocations: 0 / 475.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.5795, allocations: 11.94 kB / 475.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.5795, allocations: 0 / 475.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.5795, allocations: 0 / 475.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006712/0.5802, allocations: 0.5528 MB / 475.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.5803, allocations: 116.6 kB / 476 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.5804, allocations: 15.39 kB / 476 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.5805, allocations: 7.984 kB / 476 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.5806, allocations: 19.97 kB / 476 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.5806, allocations: 15.11 kB / 476.1 MB, free: 9.668 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000225/0.5809, allocations: 225.5 kB / 476.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5809, allocations: 0 / 476.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.5812, allocations: 63.75 kB / 476.3 MB, free: 9.426 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.001054/0.5823, allocations: 1.098 MB / 477.4 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005061/0.5828, allocations: 319.3 kB / 477.7 MB, free: 8.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5828, allocations: 0.9375 kB / 477.7 MB, free: 8.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.583, allocations: 152.8 kB / 477.9 MB, free: 8.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.5834, allocations: 35.58 kB / 477.9 MB, free: 8.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.5849, allocations: 0.8468 MB / 478.8 MB, free: 7.242 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.5854, allocations: 0.8731 MB / 479.7 MB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000289/0.5857, allocations: 83.25 kB / 479.7 MB, free: 6.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.5859, allocations: 163.1 kB / 479.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5859, allocations: 4 kB / 479.9 MB, free: 6.219 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/0.618, allocations: 6.084 MB / 486 MB, free: 148 kB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003794/0.6184, allocations: 165.3 kB / 486.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/2.868, allocations: 0 / 486.1 MB, free: 15.95 MB / 362.7 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1)