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.001417/0.001417, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001941/0.001941, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.544/1.544, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05762/0.05762, allocations: 10.74 MB / 280.2 MB, free: 10.67 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.001364/0.001364, allocations: 63.91 kB / 340.1 MB, free: 23.6 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08793/0.08931, allocations: 49.01 MB / 389.2 MB, free: 6.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003945/0.0933, allocations: 2.154 MB / 391.3 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.09442, allocations: 394.9 kB / 391.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002928/0.09474, allocations: 11.94 kB / 391.7 MB, free: 3.949 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.09502, allocations: 35.66 kB / 391.7 MB, free: 3.914 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.09527, allocations: 19.8 kB / 391.8 MB, free: 3.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.09596, allocations: 179.8 kB / 391.9 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007465/0.09672, allocations: 475.2 kB / 392.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.09695, allocations: 80.92 kB / 392.5 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.09724, allocations: 155.3 kB / 392.6 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.09753, allocations: 175.2 kB / 392.8 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.09765, allocations: 27.98 kB / 392.8 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.448e-05/0.09771, allocations: 28 kB / 392.9 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.09786, allocations: 119.7 kB / 393 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.09807, allocations: 162.9 kB / 393.1 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.09847, allocations: 342.7 kB / 393.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.09848, allocations: 0 / 393.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.09849, allocations: 0 / 393.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.09851, allocations: 0 / 393.5 MB, free: 2.184 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.001242/0.09976, allocations: 0.7014 MB / 394.2 MB, free: 1.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.09981, allocations: 15.89 kB / 394.2 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.697e-05/0.09989, allocations: 70.72 kB / 394.3 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.637e-05/0.09998, allocations: 44.38 kB / 394.3 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.1005, allocations: 363.6 kB / 394.7 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.1005, allocations: 33.03 kB / 394.7 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.1006, allocations: 32.31 kB / 394.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.1013, allocations: 396.1 kB / 395.1 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.1013, allocations: 11.84 kB / 395.1 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.1014, allocations: 19.98 kB / 395.1 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1014, allocations: 8 kB / 395.1 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.102, allocations: 294.3 kB / 395.4 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/0.1046, allocations: 1.489 MB / 396.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.1051, allocations: 182.4 kB / 397.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.1054, allocations: 112.8 kB / 397.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.1054, allocations: 8 kB / 397.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.1055, allocations: 34.56 kB / 397.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.1055, allocations: 0 / 397.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007485/0.1062, allocations: 327 kB / 397.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.1063, allocations: 51.41 kB / 397.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004767/0.1068, allocations: 397.5 kB / 398 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.1069, allocations: 33.7 kB / 398 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.1071, allocations: 232 kB / 398.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.358e-05/0.1072, allocations: 78.81 kB / 398.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.1073, allocations: 73.59 kB / 398.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.1075, allocations: 354.7 kB / 398.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.1077, allocations: 88.31 kB / 398.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.108, allocations: 214.1 kB / 399.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.1095, allocations: 0.5803 MB / 399.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1095, allocations: 0 / 399.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006767/0.1102, allocations: 416.7 kB / 400 MB, free: 11.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.1102, allocations: 8 kB / 400.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1103, allocations: 4.469 kB / 400.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.1103, allocations: 4 kB / 400.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.1106, allocations: 99.81 kB / 400.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1106, allocations: 4 kB / 400.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.1108, allocations: 43.58 kB / 400.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.1108, allocations: 16 kB / 400.2 MB, free: 11.04 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.0002421/0.1111, allocations: 191.6 kB / 400.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.1112, allocations: 39.47 kB / 400.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005179/0.1117, allocations: 284.8 kB / 400.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1117, allocations: 8 kB / 400.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1117, allocations: 3.984 kB / 400.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.1117, allocations: 0 / 400.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.1122, allocations: 377.3 kB / 401.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1122, allocations: 7.875 kB / 401.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.1125, allocations: 67.89 kB / 401.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1125, allocations: 4 kB / 401.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.1126, allocations: 7.984 kB / 401.2 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1126, allocations: 4 kB / 401.2 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1126, allocations: 0 / 401.2 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006894/0.1133, allocations: 482.7 kB / 401.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/0.1134, allocations: 116.5 kB / 401.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.1134, allocations: 11.98 kB / 401.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.1136, allocations: 11.98 kB / 401.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.282e-05/0.1137, allocations: 11.98 kB / 401.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1137, allocations: 8 kB / 401.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003357/0.114, allocations: 275.1 kB / 402.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.114, allocations: 0 / 402.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1144, allocations: 59.84 kB / 402.1 MB, free: 9.008 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.001258/0.1156, allocations: 1.028 MB / 403.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005144/0.1162, allocations: 291.5 kB / 403.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1162, allocations: 0 / 403.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.1164, allocations: 108.8 kB / 403.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1168, allocations: 45.66 kB / 403.6 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.1211, allocations: 3.673 MB / 407.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.1215, allocations: 0.8266 MB / 408.1 MB, free: 2.832 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.1217, allocations: 74.91 kB / 408.2 MB, free: 2.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.1219, allocations: 135.4 kB / 408.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1219, allocations: 0 / 408.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.1409, allocations: 5.878 MB / 414.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.1412, allocations: 219.7 kB / 414.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.158, allocations: 4 kB / 414.4 MB, free: 12.56 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)