Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.TestD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_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.0008522/0.0008523, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.005659/0.005659, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.461/1.461, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05434/0.05434, allocations: 10.75 MB / 281.5 MB, free: 10.44 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.0005282/0.0005282, allocations: 16 kB / 342.3 MB, free: 23.39 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1061, allocations: 50.01 MB / 392.3 MB, free: 5.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002764/0.1089, allocations: 1.846 MB / 394.2 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.1109, allocations: 1.026 MB / 395.2 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.1112, allocations: 11.94 kB / 395.2 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.1115, allocations: 71.59 kB / 395.3 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.1116, allocations: 55.69 kB / 395.4 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008417/0.1125, allocations: 271.6 kB / 395.6 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005993/0.1131, allocations: 0.5511 MB / 396.2 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.1133, allocations: 85.25 kB / 396.3 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.1136, allocations: 183.2 kB / 396.4 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.1139, allocations: 223.1 kB / 396.6 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.819e-05/0.114, allocations: 16 kB / 396.7 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.1141, allocations: 83.94 kB / 396.7 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.1143, allocations: 139.5 kB / 396.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.1145, allocations: 220.3 kB / 397.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.115, allocations: 470.2 kB / 397.6 MB, free: 64 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.115, allocations: 0 / 397.6 MB, free: 64 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1151, allocations: 0 / 397.6 MB, free: 64 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.1151, allocations: 0 / 397.6 MB, free: 64 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001371/0.1164, allocations: 0.769 MB / 398.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.1165, allocations: 16.03 kB / 398.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.623e-05/0.1166, allocations: 78.72 kB / 398.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.338e-05/0.1167, allocations: 60.19 kB / 398.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.1173, allocations: 413.8 kB / 398.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.462e-05/0.1173, allocations: 33.38 kB / 398.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.297e-05/0.1174, allocations: 48.28 kB / 399 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/0.1182, allocations: 0.5085 MB / 399.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.1183, allocations: 7.938 kB / 399.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/0.1183, allocations: 16 kB / 399.5 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.1183, allocations: 12 kB / 399.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006738/0.119, allocations: 403.6 kB / 399.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.1217, allocations: 1.806 MB / 401.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.1222, allocations: 274.4 kB / 402 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.1225, allocations: 180.6 kB / 402.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.1226, allocations: 4 kB / 402.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003593/0.1229, allocations: 260.9 kB / 402.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.673e-06/0.1229, allocations: 0 / 402.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.00095/0.1239, allocations: 0.5741 MB / 403 MB, free: 10.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.124, allocations: 85.38 kB / 403.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/0.1245, allocations: 497.7 kB / 403.6 MB, free: 9.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.1245, allocations: 33.64 kB / 403.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.1247, allocations: 283.9 kB / 403.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.1249, allocations: 126.2 kB / 404 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-05/0.125, allocations: 65.67 kB / 404 MB, free: 9.281 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1252, allocations: 370.7 kB / 404.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.1254, allocations: 169.1 kB / 404.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.1258, allocations: 329.8 kB / 404.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.128, allocations: 1.078 MB / 406 MB, free: 7.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.128, allocations: 8 kB / 406 MB, free: 7.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001067/0.1291, allocations: 0.7302 MB / 406.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/0.1291, allocations: 40.75 kB / 406.8 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1292, allocations: 7.938 kB / 406.8 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.1292, allocations: 8 kB / 406.8 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.1297, allocations: 139.8 kB / 406.9 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.1297, allocations: 11.94 kB / 406.9 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.1299, allocations: 63.7 kB / 407 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.13, allocations: 28 kB / 407 MB, free: 6.133 MB / 302.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * 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.0003634/0.1304, allocations: 286.5 kB / 407.3 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.1304, allocations: 47.44 kB / 407.3 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008679/0.1313, allocations: 0.5215 MB / 407.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1313, allocations: 8 kB / 407.9 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1313, allocations: 0 / 407.9 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.1314, allocations: 3.984 kB / 407.9 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.1319, allocations: 476.8 kB / 408.3 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1319, allocations: 0 / 408.3 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.1324, allocations: 91.88 kB / 408.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1324, allocations: 3.938 kB / 408.4 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.1324, allocations: 23.98 kB / 408.4 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1324, allocations: 0 / 408.4 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1324, allocations: 4 kB / 408.5 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009929/0.1334, allocations: 0.7121 MB / 409.2 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.074e-05/0.1335, allocations: 120.6 kB / 409.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.488e-05/0.1336, allocations: 19.98 kB / 409.3 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.1338, allocations: 19.98 kB / 409.3 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.1339, allocations: 23.97 kB / 409.3 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.1339, allocations: 12 kB / 409.4 MB, free: 3.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003416/0.1342, allocations: 335.1 kB / 409.7 MB, free: 3.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1342, allocations: 3.938 kB / 409.7 MB, free: 3.332 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003763/0.1346, allocations: 119.7 kB / 409.8 MB, free: 3.215 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.001374/0.136, allocations: 1.293 MB / 411.1 MB, free: 1.879 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000823/0.1368, allocations: 0.5517 MB / 411.6 MB, free: 1.316 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1369, allocations: 0 / 411.6 MB, free: 1.316 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.1372, allocations: 279.2 kB / 411.9 MB, free: 1.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1375, allocations: 50.61 kB / 412 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/0.1433, allocations: 5.188 MB / 417.2 MB, free: 11.56 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.1438, allocations: 0.8859 MB / 418 MB, free: 10.65 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002553/0.1441, allocations: 104.1 kB / 418.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.1443, allocations: 183.4 kB / 418.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1443, allocations: 0 / 418.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2796/0.424, allocations: 8.382 MB / 426.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/0.4243, allocations: 226.3 kB / 426.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.398, allocations: 4.062 kB / 426.9 MB, free: 1.82 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1)