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.00122/0.00122, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 195 kB / 16.53 MB, free: 6.664 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.414/1.414, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06/0.06, allocations: 10.75 MB / 280.5 MB, free: 10.5 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.001645/0.001645, allocations: 71.89 kB / 340.6 MB, free: 23.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1183, allocations: 49.01 MB / 389.7 MB, free: 6.168 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.00323/0.1215, allocations: 2.101 MB / 391.8 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.1224, allocations: 402.9 kB / 392.1 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.1227, allocations: 11.88 kB / 392.2 MB, free: 3.641 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.1229, allocations: 55.45 kB / 392.2 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.1231, allocations: 23.69 kB / 392.2 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.1237, allocations: 199.6 kB / 392.4 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00062/0.1243, allocations: 471.3 kB / 392.9 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.1245, allocations: 88.92 kB / 393 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.1247, allocations: 143.5 kB / 393.1 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.125, allocations: 167.2 kB / 393.3 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.583e-05/0.1251, allocations: 28 kB / 393.3 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.63e-05/0.1251, allocations: 24 kB / 393.3 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.1253, allocations: 123.6 kB / 393.5 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.1255, allocations: 162.9 kB / 393.6 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004098/0.1259, allocations: 342.7 kB / 393.9 MB, free: 1.848 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1259, allocations: 4 kB / 394 MB, free: 1.844 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1259, allocations: 0 / 394 MB, free: 1.844 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.1259, allocations: 0 / 394 MB, free: 1.844 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.001273/0.1272, allocations: 0.7052 MB / 394.7 MB, free: 1.086 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1273, allocations: 11.89 kB / 394.7 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.497e-05/0.1274, allocations: 70.72 kB / 394.7 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.459e-05/0.1275, allocations: 52.31 kB / 394.8 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.1279, allocations: 363.7 kB / 395.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.128, allocations: 25.03 kB / 395.2 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-05/0.128, allocations: 36.38 kB / 395.2 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.1287, allocations: 396.1 kB / 395.6 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.1287, allocations: 11.84 kB / 395.6 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.1288, allocations: 16 kB / 395.6 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1288, allocations: 11.98 kB / 395.6 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005785/0.1294, allocations: 290.4 kB / 395.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.1316, allocations: 1.5 MB / 397.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.132, allocations: 182.4 kB / 397.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.1322, allocations: 112.8 kB / 397.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.1323, allocations: 4 kB / 397.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.1323, allocations: 34.5 kB / 397.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.934e-06/0.1323, allocations: 0 / 397.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006559/0.133, allocations: 317.4 kB / 398 MB, free: 13.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.133, allocations: 59.39 kB / 398.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004779/0.1335, allocations: 401.5 kB / 398.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1335, allocations: 25.7 kB / 398.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1337, allocations: 232 kB / 398.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.1337, allocations: 82.81 kB / 398.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.687e-05/0.1338, allocations: 73.59 kB / 398.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.1341, allocations: 350.7 kB / 399.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.1343, allocations: 92.31 kB / 399.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.1345, allocations: 214 kB / 399.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.1361, allocations: 0.5726 MB / 400.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1361, allocations: 8 kB / 400.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006537/0.1367, allocations: 420.6 kB / 400.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1368, allocations: 7.594 kB / 400.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.1368, allocations: 8 kB / 400.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.1368, allocations: 8 kB / 400.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.1371, allocations: 83.89 kB / 400.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.1372, allocations: 15.92 kB / 400.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.1374, allocations: 43.58 kB / 400.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.1374, allocations: 23.98 kB / 400.7 MB, free: 10.69 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] 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 (45): * Single equations (assignments): 45 * 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.0003308/0.1377, allocations: 195.6 kB / 400.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.1378, allocations: 39.47 kB / 401 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005387/0.1383, allocations: 292.8 kB / 401.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1384, allocations: 3.984 kB / 401.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1384, allocations: 0 / 401.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1384, allocations: 4 kB / 401.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.1389, allocations: 369.3 kB / 401.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.139, allocations: 3.938 kB / 401.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/0.1393, allocations: 63.89 kB / 401.7 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1393, allocations: 3.938 kB / 401.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.1394, allocations: 8 kB / 401.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1394, allocations: 0 / 401.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1394, allocations: 4 kB / 401.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006871/0.1401, allocations: 474.7 kB / 402.2 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.812e-05/0.1402, allocations: 124.5 kB / 402.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.1402, allocations: 8 kB / 402.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.1404, allocations: 7.984 kB / 402.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.1404, allocations: 19.97 kB / 402.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.1405, allocations: 8 kB / 402.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002756/0.1407, allocations: 275.1 kB / 402.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1407, allocations: 0 / 402.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.1411, allocations: 59.84 kB / 402.6 MB, free: 8.66 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 (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.001044/0.1422, allocations: 1.024 MB / 403.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006203/0.1428, allocations: 287.6 kB / 403.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1428, allocations: 1.312 kB / 403.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.143, allocations: 115.8 kB / 404.1 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.1434, allocations: 50.45 kB / 404.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005206/0.1486, allocations: 3.541 MB / 407.7 MB, free: 3.469 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.1492, allocations: 0.8305 MB / 408.5 MB, free: 2.613 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00023/0.1494, allocations: 70.91 kB / 408.6 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.1496, allocations: 135.4 kB / 408.7 MB, free: 2.406 MB / 302.1 MB Notification: Performance of SimCode: time 1.743e-06/0.1496, allocations: 0 / 408.7 MB, free: 2.406 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.1778, allocations: 6.001 MB / 414.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.8, allocations: 12.06 kB / 414.7 MB, free: 12.43 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/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)