Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl",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.004652/0.004652, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001261/0.001261, allocations: 194.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.1886/0.1886, allocations: 11.18 MB / 301.7 MB, free: 1.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 71.89 kB / 417.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2457, allocations: 51.97 MB / 469.3 MB, free: 16.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003245/0.249, allocations: 2.415 MB / 471.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2503, allocations: 0.686 MB / 472.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.2505, allocations: 15.19 kB / 472.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.2508, allocations: 83.28 kB / 472.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.2509, allocations: 50.97 kB / 472.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000787/0.2517, allocations: 349.1 kB / 472.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008459/0.2526, allocations: 0.7079 MB / 473.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.2528, allocations: 117.2 kB / 473.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.2531, allocations: 218.3 kB / 473.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.2533, allocations: 219.5 kB / 474.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.844e-05/0.2534, allocations: 39.62 kB / 474.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.348e-05/0.2535, allocations: 39.88 kB / 474.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.2536, allocations: 163.4 kB / 474.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.2538, allocations: 221.1 kB / 474.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.2542, allocations: 0.51 MB / 475.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2542, allocations: 1.375 kB / 475.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2542, allocations: 0 / 475.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.2543, allocations: 0 / 475.1 MB, free: 12.91 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001032/0.2553, allocations: 0.7874 MB / 475.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2554, allocations: 22.33 kB / 475.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.573e-05/0.2554, allocations: 79.19 kB / 476 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.314e-05/0.2555, allocations: 60.59 kB / 476.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.256, allocations: 465.6 kB / 476.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.2561, allocations: 37.55 kB / 476.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.2561, allocations: 38.31 kB / 476.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.2568, allocations: 483.2 kB / 477.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.2568, allocations: 5.938 kB / 477.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.2569, allocations: 16.06 kB / 477.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.2569, allocations: 10.12 kB / 477.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000547/0.2574, allocations: 341.4 kB / 477.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.2594, allocations: 2.009 MB / 479.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.2597, allocations: 193.2 kB / 479.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.2599, allocations: 94.25 kB / 479.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.26, allocations: 6.578 kB / 479.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.26, allocations: 32.56 kB / 479.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.26, allocations: 0 / 479.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.000606/0.2606, allocations: 342.1 kB / 480.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.2606, allocations: 53.66 kB / 480.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.2611, allocations: 0.4887 MB / 480.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.2611, allocations: 30.89 kB / 480.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.2612, allocations: 307.8 kB / 481 MB, free: 8.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.2613, allocations: 80.44 kB / 481.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.111e-05/0.2614, allocations: 93.02 kB / 481.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.2615, allocations: 358.7 kB / 481.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.2616, allocations: 97.25 kB / 481.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.2619, allocations: 282.8 kB / 481.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.2634, allocations: 0.6512 MB / 482.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2634, allocations: 2.781 kB / 482.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006302/0.264, allocations: 458.5 kB / 483 MB, free: 6.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2641, allocations: 7.781 kB / 483 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2641, allocations: 5.438 kB / 483 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.2641, allocations: 9.562 kB / 483 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.2645, allocations: 99.33 kB / 483.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.2645, allocations: 19.97 kB / 483.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.2647, allocations: 52.16 kB / 483.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.2647, allocations: 22.19 kB / 483.2 MB, free: 6.766 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: process.P22.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P21.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P12.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P11.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: 27 * Number of states: 0 () * Number of discrete variables: 8 (controller2.TS_in,controller1.TS_in,controller2.satLOW_in,controller2.satHIGH_in,controller2.ATreq_in,controller1.satLOW_in,controller1.satHIGH_in,controller1.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002014/0.265, allocations: 211.4 kB / 483.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.265, allocations: 50.98 kB / 483.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.2655, allocations: 311.7 kB / 483.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2656, allocations: 2.469 kB / 483.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2656, allocations: 4 kB / 483.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2656, allocations: 5.094 kB / 483.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.266, allocations: 430.8 kB / 484.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.266, allocations: 5 kB / 484.2 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.2663, allocations: 67.33 kB / 484.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2663, allocations: 1.031 kB / 484.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.2664, allocations: 6.219 kB / 484.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2664, allocations: 1.031 kB / 484.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2664, allocations: 1.062 kB / 484.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.267, allocations: 0.4899 MB / 484.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.2671, allocations: 131 kB / 484.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.2671, allocations: 6.531 kB / 484.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2673, allocations: 11.89 kB / 484.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.2673, allocations: 14.64 kB / 484.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.2673, allocations: 9.156 kB / 484.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003225/0.2677, allocations: 340.3 kB / 485.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2677, allocations: 5.219 kB / 485.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003954/0.2681, allocations: 73.81 kB / 485.3 MB, free: 5.277 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.P11.w,process.P12.w,process.P21.w,process.P22.w,controller1.FBout,controller2.FBout) * 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 (24): * Single equations (assignments): 24 * 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.0008034/0.2689, allocations: 1.037 MB / 486.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005013/0.2694, allocations: 294 kB / 486.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2694, allocations: 0 / 486.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.2696, allocations: 119.7 kB / 486.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.27, allocations: 46.81 kB / 486.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.2742, allocations: 4.153 MB / 491 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.2745, allocations: 0.8671 MB / 491.8 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.2747, allocations: 72.44 kB / 491.9 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.2749, allocations: 169.2 kB / 492.1 MB, free: 272 kB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2749, allocations: 0 / 492.1 MB, free: 272 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.3058, allocations: 7.203 MB / 499.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.609/8.915, allocations: 12.7 kB / 499.3 MB, free: 10.6 MB / 366.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl.fmu > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1)