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.001264/0.001264, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001367/0.001367, allocations: 177.3 kB / 15.95 MB, free: 216 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.493/1.493, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05506/0.05506, allocations: 10.73 MB / 281.1 MB, free: 10.57 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.0004991/0.0004992, allocations: 19.94 kB / 341.7 MB, free: 23.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1111, allocations: 50 MB / 391.7 MB, free: 5.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002497/0.1137, allocations: 1.734 MB / 393.4 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007848/0.1145, allocations: 390.9 kB / 393.8 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1146, allocations: 15.88 kB / 393.8 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.1148, allocations: 31.78 kB / 393.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.906e-05/0.1149, allocations: 23.84 kB / 393.9 MB, free: 3.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.1154, allocations: 151.7 kB / 394 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.1159, allocations: 267.7 kB / 394.3 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.1161, allocations: 72.53 kB / 394.4 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.1163, allocations: 135.4 kB / 394.5 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.1165, allocations: 143.3 kB / 394.6 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.1165, allocations: 12 kB / 394.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.846e-05/0.1166, allocations: 12 kB / 394.7 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.1167, allocations: 95.7 kB / 394.7 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.902e-05/0.1168, allocations: 81.45 kB / 394.8 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.1171, allocations: 239.8 kB / 395.1 MB, free: 2.316 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1171, allocations: 0 / 395.1 MB, free: 2.316 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1171, allocations: 0 / 395.1 MB, free: 2.316 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.577e-06/0.1171, allocations: 4 kB / 395.1 MB, free: 2.312 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.001151/0.1183, allocations: 0.6467 MB / 395.7 MB, free: 1.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.1183, allocations: 11.97 kB / 395.7 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.1184, allocations: 74.53 kB / 395.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.1186, allocations: 51.39 kB / 395.8 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.1191, allocations: 338.8 kB / 396.2 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.1191, allocations: 20.66 kB / 396.2 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.1192, allocations: 43.89 kB / 396.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/0.1199, allocations: 399.5 kB / 396.6 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.1199, allocations: 7.938 kB / 396.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.1199, allocations: 16 kB / 396.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.1199, allocations: 8 kB / 396.7 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/0.1205, allocations: 302.3 kB / 397 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.1228, allocations: 1.509 MB / 398.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.1232, allocations: 175.1 kB / 398.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1232, allocations: 4.188 kB / 398.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.1233, allocations: 38.78 kB / 398.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.1233, allocations: 0 / 398.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006585/0.1239, allocations: 336.1 kB / 399 MB, free: 14.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.124, allocations: 55.41 kB / 399.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004266/0.1244, allocations: 401.4 kB / 399.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1245, allocations: 29.7 kB / 399.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.1247, allocations: 231.9 kB / 399.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.1248, allocations: 78.91 kB / 399.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/0.1248, allocations: 8 kB / 399.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1249, allocations: 354.7 kB / 400.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.1251, allocations: 96.31 kB / 400.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.1254, allocations: 210.2 kB / 400.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.1257, allocations: 140.8 kB / 400.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1257, allocations: 0 / 400.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006775/0.1264, allocations: 420.7 kB / 401 MB, free: 12.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1264, allocations: 8 kB / 401 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.1264, allocations: 8.406 kB / 401 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1264, allocations: 12 kB / 401 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.1268, allocations: 91.88 kB / 401.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.1268, allocations: 7.938 kB / 401.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.127, allocations: 47.58 kB / 401.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.127, allocations: 16 kB / 401.2 MB, free: 11.87 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.0002971/0.1273, allocations: 199.5 kB / 401.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.1274, allocations: 35.53 kB / 401.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/0.1279, allocations: 292.9 kB / 401.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1279, allocations: 4 kB / 401.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1279, allocations: 0 / 401.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.128, allocations: 0 / 401.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.1284, allocations: 385.2 kB / 402.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1284, allocations: 0 / 402.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.1287, allocations: 67.91 kB / 402.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1288, allocations: 0 / 402.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.1288, allocations: 11.98 kB / 402.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1288, allocations: 0 / 402.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1288, allocations: 0 / 402.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007118/0.1295, allocations: 494.5 kB / 402.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/0.1296, allocations: 116.6 kB / 402.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.1297, allocations: 11.92 kB / 402.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.1298, allocations: 12.17 kB / 402.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.1299, allocations: 15.98 kB / 402.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1299, allocations: 7.938 kB / 402.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002948/0.1302, allocations: 279.1 kB / 403.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1302, allocations: 0 / 403.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000322/0.1305, allocations: 63.94 kB / 403.1 MB, free: 9.812 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.000961/0.1315, allocations: 1.02 MB / 404.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.132, allocations: 284.5 kB / 404.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.132, allocations: 0 / 404.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.1322, allocations: 111.9 kB / 404.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.1325, allocations: 34.3 kB / 404.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.1366, allocations: 4.635 MB / 409.2 MB, free: 3.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.1371, allocations: 0.8424 MB / 410 MB, free: 2.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.1373, allocations: 74.91 kB / 410.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.1375, allocations: 131.4 kB / 410.2 MB, free: 2.523 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1375, allocations: 4 kB / 410.3 MB, free: 2.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.1556, allocations: 5.836 MB / 416.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.1559, allocations: 193.8 kB / 416.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.108, allocations: 0 / 416.3 MB, free: 12.54 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: