Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.TestPD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_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.001519/0.001519, allocations: 108 kB / 15.6 MB, free: 132 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.001804/0.001804, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.486/1.486, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05843/0.05843, allocations: 10.74 MB / 280.5 MB, free: 10.52 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.001542/0.001542, allocations: 75.88 kB / 340.6 MB, free: 23.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08199/0.08355, allocations: 49.01 MB / 389.7 MB, free: 6.152 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.003735/0.08732, allocations: 2.175 MB / 391.8 MB, free: 3.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.08919, allocations: 1.037 MB / 392.9 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.08939, allocations: 15.88 kB / 392.9 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.08968, allocations: 83.36 kB / 393 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.08985, allocations: 67.5 kB / 393 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008736/0.09073, allocations: 323.3 kB / 393.3 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006328/0.09137, allocations: 0.5942 MB / 393.9 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.09157, allocations: 93.27 kB / 394 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.09183, allocations: 203.3 kB / 394.2 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.09215, allocations: 243 kB / 394.5 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.156e-05/0.09224, allocations: 32 kB / 394.5 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.09242, allocations: 111.9 kB / 394.6 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.09258, allocations: 155.5 kB / 394.8 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.09279, allocations: 218.5 kB / 395 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005426/0.09334, allocations: 0.4905 MB / 395.5 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.09335, allocations: 0 / 395.5 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.09336, allocations: 0 / 395.5 MB, free: 304 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.09338, allocations: 3.938 kB / 395.5 MB, free: 300 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.001346/0.09473, allocations: 0.8512 MB / 396.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.09478, allocations: 15.89 kB / 396.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.803e-05/0.09488, allocations: 74.72 kB / 396.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.09499, allocations: 64.19 kB / 396.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.09551, allocations: 409.9 kB / 396.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.09555, allocations: 29.38 kB / 396.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/0.09563, allocations: 52.2 kB / 397 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007537/0.0964, allocations: 0.5085 MB / 397.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.09643, allocations: 7.844 kB / 397.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.09648, allocations: 16 kB / 397.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.0965, allocations: 12 kB / 397.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006539/0.09716, allocations: 391.7 kB / 397.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.09988, allocations: 1.798 MB / 399.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/0.1004, allocations: 274.4 kB / 399.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.1007, allocations: 188.8 kB / 400.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.1007, allocations: 7.984 kB / 400.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.1011, allocations: 249 kB / 400.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.024e-06/0.1011, allocations: 0 / 400.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009394/0.1021, allocations: 0.5782 MB / 401 MB, free: 10.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.1021, allocations: 93.09 kB / 401 MB, free: 10.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/0.1026, allocations: 0.49 MB / 401.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.1027, allocations: 29.7 kB / 401.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.1029, allocations: 276 kB / 401.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.103, allocations: 138 kB / 402 MB, free: 9.496 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.1031, allocations: 102.2 kB / 402.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1033, allocations: 374.7 kB / 402.4 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.1036, allocations: 161.1 kB / 402.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.1039, allocations: 337.8 kB / 402.9 MB, free: 8.461 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/0.1061, allocations: 1.082 MB / 404 MB, free: 7.285 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.1061, allocations: 4 kB / 404 MB, free: 7.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001053/0.1072, allocations: 0.7182 MB / 404.7 MB, free: 6.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.1072, allocations: 41.69 kB / 404.8 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.1072, allocations: 8 kB / 404.8 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.1073, allocations: 8 kB / 404.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/0.1078, allocations: 132.4 kB / 404.9 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.1078, allocations: 15.98 kB / 404.9 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.1081, allocations: 63.36 kB / 405 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.1081, allocations: 24 kB / 405 MB, free: 6.258 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.0003431/0.1085, allocations: 278.5 kB / 405.3 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/0.1086, allocations: 51.38 kB / 405.3 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008263/0.1094, allocations: 0.5293 MB / 405.9 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1094, allocations: 4 kB / 405.9 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1094, allocations: 0 / 405.9 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1094, allocations: 0 / 405.9 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.1099, allocations: 476.8 kB / 406.3 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1099, allocations: 0 / 406.3 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/0.1104, allocations: 91.81 kB / 406.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1104, allocations: 4 kB / 406.4 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.1105, allocations: 19.98 kB / 406.4 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1105, allocations: 3.984 kB / 406.5 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1105, allocations: 4 kB / 406.5 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.1115, allocations: 0.7079 MB / 407.2 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1116, allocations: 128.5 kB / 407.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.899e-05/0.1117, allocations: 16 kB / 407.3 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.1119, allocations: 11.98 kB / 407.3 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.112, allocations: 23.97 kB / 407.3 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.112, allocations: 15.98 kB / 407.4 MB, free: 3.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003467/0.1124, allocations: 342.8 kB / 407.7 MB, free: 3.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1124, allocations: 0 / 407.7 MB, free: 3.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.1128, allocations: 107.8 kB / 407.8 MB, free: 3.355 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.001375/0.1142, allocations: 1.304 MB / 409.1 MB, free: 2.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008987/0.1151, allocations: 0.5873 MB / 409.7 MB, free: 1.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1151, allocations: 0 / 409.7 MB, free: 1.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.1154, allocations: 279.1 kB / 410 MB, free: 1.137 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.1158, allocations: 63.72 kB / 410 MB, free: 1.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005678/0.1215, allocations: 4.994 MB / 415 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.1219, allocations: 0.8859 MB / 415.9 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000272/0.1222, allocations: 112.1 kB / 416 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.1224, allocations: 183.4 kB / 416.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1224, allocations: 0 / 416.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04256/0.165, allocations: 8.875 MB / 425.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/7.883, allocations: 15.3 kB / 425.1 MB, free: 1.797 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1)