Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.TestP_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestP_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_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.0008419/0.000842, allocations: 91.61 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.0008531/0.0008532, 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.28/1.28, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05407/0.05407, allocations: 10.75 MB / 281.1 MB, free: 10.79 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.000482/0.0004822, allocations: 14.97 kB / 341.7 MB, free: 23.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0728/0.0733, allocations: 49.99 MB / 391.7 MB, free: 5.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.00199/0.07532, allocations: 1.73 MB / 393.5 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007327/0.07608, allocations: 391 kB / 393.8 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.07627, allocations: 11.88 kB / 393.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.07646, allocations: 43.59 kB / 393.9 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.07658, allocations: 19.8 kB / 393.9 MB, free: 3.504 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.07705, allocations: 147.8 kB / 394.1 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004517/0.07751, allocations: 411.3 kB / 394.5 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.07767, allocations: 68.64 kB / 394.5 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.07785, allocations: 135.4 kB / 394.7 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.07806, allocations: 151.3 kB / 394.8 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.07812, allocations: 12 kB / 394.8 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.467e-05/0.07816, allocations: 12 kB / 394.8 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.07827, allocations: 91.72 kB / 394.9 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.326e-05/0.07835, allocations: 81.45 kB / 395 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.07858, allocations: 247.7 kB / 395.2 MB, free: 2.168 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.07859, allocations: 0 / 395.2 MB, free: 2.168 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.0786, allocations: 0 / 395.2 MB, free: 2.168 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.07861, allocations: 0 / 395.2 MB, free: 2.168 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.0009054/0.07952, allocations: 0.6502 MB / 395.9 MB, free: 1.473 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.07957, allocations: 19.95 kB / 395.9 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.545e-05/0.07965, allocations: 74.53 kB / 396 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.07972, allocations: 47.39 kB / 396 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.08013, allocations: 338.8 kB / 396.4 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.08017, allocations: 24.66 kB / 396.4 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/0.08022, allocations: 43.88 kB / 396.4 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005963/0.08083, allocations: 399.6 kB / 396.8 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.08086, allocations: 7.938 kB / 396.8 MB, free: 480 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.08089, allocations: 16 kB / 396.8 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.08091, allocations: 8 kB / 396.8 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004952/0.08141, allocations: 298.3 kB / 397.1 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.08349, allocations: 1.505 MB / 398.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.08391, allocations: 183.1 kB / 398.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.08412, allocations: 113.1 kB / 398.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.08416, allocations: 4.188 kB / 398.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.08419, allocations: 34.75 kB / 399 MB, free: 14.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.044e-06/0.08419, allocations: 0 / 399 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.000598/0.0848, allocations: 335.8 kB / 399.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.08484, allocations: 51.41 kB / 399.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.08524, allocations: 393.5 kB / 399.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.08527, allocations: 29.7 kB / 399.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.08543, allocations: 247.9 kB / 400 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.0855, allocations: 78.91 kB / 400.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.08552, allocations: 4 kB / 400.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.08566, allocations: 354.8 kB / 400.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.08585, allocations: 92.31 kB / 400.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.08611, allocations: 214.2 kB / 400.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.08635, allocations: 144.7 kB / 400.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.08636, allocations: 0 / 400.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006588/0.08703, allocations: 424.8 kB / 401.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.08706, allocations: 8 kB / 401.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.08708, allocations: 4 kB / 401.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.08711, allocations: 4 kB / 401.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.08747, allocations: 87.89 kB / 401.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.0875, allocations: 11.92 kB / 401.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.08769, allocations: 52.02 kB / 401.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.08773, allocations: 12 kB / 401.5 MB, free: 11.61 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 (45): * Single equations (assignments): 45 * 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.0002769/0.08801, allocations: 195.5 kB / 401.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.08809, allocations: 39.53 kB / 401.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/0.08865, allocations: 292.9 kB / 402 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.08867, allocations: 4 kB / 402 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.08868, allocations: 4 kB / 402 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.08869, allocations: 3.984 kB / 402 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.08916, allocations: 381.2 kB / 402.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.08918, allocations: 4 kB / 402.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.08952, allocations: 67.89 kB / 402.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.08953, allocations: 3.938 kB / 402.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.08957, allocations: 8 kB / 402.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.08958, allocations: 0 / 402.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.08959, allocations: 0 / 402.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.09032, allocations: 490.5 kB / 402.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/0.09042, allocations: 116.6 kB / 403 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.09048, allocations: 12 kB / 403 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.09063, allocations: 15.98 kB / 403.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.09069, allocations: 15.97 kB / 403.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.09072, allocations: 4 kB / 403.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003064/0.09103, allocations: 275.2 kB / 403.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09104, allocations: 0 / 403.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.09142, allocations: 63.84 kB / 403.4 MB, free: 9.555 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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.001109/0.09254, allocations: 1.02 MB / 404.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005565/0.09312, allocations: 283.6 kB / 404.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.09313, allocations: 1.125 kB / 404.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.09334, allocations: 115.9 kB / 404.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.09372, allocations: 38.23 kB / 404.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.09736, allocations: 2.393 MB / 407.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.09778, allocations: 0.8307 MB / 408.1 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.09799, allocations: 74.91 kB / 408.2 MB, free: 4.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.09817, allocations: 135.4 kB / 408.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of SimCode: time 7.22e-07/0.09818, allocations: 4 kB / 408.3 MB, free: 4.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.1156, allocations: 5.86 MB / 414.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.1159, allocations: 203.4 kB / 414.4 MB, free: 14.51 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/1.739, allocations: 4 kB / 414.4 MB, free: 14.51 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) Environment - environmentSimulation: