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.004988/0.004988, 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.001296/0.001296, allocations: 197.2 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.1624/0.1624, allocations: 11.18 MB / 301.7 MB, free: 1.234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 55.91 kB / 417.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2483, allocations: 51.99 MB / 469.3 MB, free: 16.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.002794/0.2512, allocations: 2.412 MB / 471.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.2522, allocations: 0.6904 MB / 472.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.2524, allocations: 14.75 kB / 472.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.2526, allocations: 82.81 kB / 472.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.2527, allocations: 49.53 kB / 472.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006436/0.2534, allocations: 347.2 kB / 472.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005509/0.2539, allocations: 0.7145 MB / 473.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.2541, allocations: 118.9 kB / 473.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.2543, allocations: 216.9 kB / 474 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.2545, allocations: 218.4 kB / 474.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/0.2546, allocations: 39.53 kB / 474.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.473e-05/0.2547, allocations: 45 kB / 474.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.2548, allocations: 160.3 kB / 474.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.255, allocations: 221.8 kB / 474.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.2553, allocations: 0.5053 MB / 475.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2554, allocations: 0 / 475.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2554, allocations: 0 / 475.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.2554, allocations: 1.375 kB / 475.1 MB, free: 12.92 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.000921/0.2563, allocations: 0.7954 MB / 475.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.2563, allocations: 13.56 kB / 475.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.2564, allocations: 75.09 kB / 476 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.2565, allocations: 64.06 kB / 476.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.2569, allocations: 462.7 kB / 476.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.257, allocations: 29.38 kB / 476.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.257, allocations: 42.41 kB / 476.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.2576, allocations: 487.8 kB / 477.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.2576, allocations: 8.812 kB / 477.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.2577, allocations: 16.28 kB / 477.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.2577, allocations: 9.844 kB / 477.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005107/0.2582, allocations: 346.1 kB / 477.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.2599, allocations: 1.993 MB / 479.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.2602, allocations: 205.2 kB / 479.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.2604, allocations: 98.61 kB / 479.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.2604, allocations: 2.094 kB / 479.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.1e-05/0.2604, allocations: 36.81 kB / 479.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.2604, allocations: 0 / 479.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005617/0.261, allocations: 338.1 kB / 480.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.261, allocations: 53.47 kB / 480.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.2614, allocations: 0.4964 MB / 480.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2615, allocations: 30.86 kB / 480.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.2616, allocations: 312.3 kB / 481 MB, free: 8.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.2616, allocations: 80.89 kB / 481.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/0.2617, allocations: 87.55 kB / 481.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.2618, allocations: 355.7 kB / 481.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.262, allocations: 101.3 kB / 481.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.2622, allocations: 278.3 kB / 481.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.2636, allocations: 0.6513 MB / 482.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2636, allocations: 2.219 kB / 482.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005888/0.2642, allocations: 455.7 kB / 483 MB, free: 6.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2642, allocations: 6.938 kB / 483 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2643, allocations: 11.44 kB / 483 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2643, allocations: 8.031 kB / 483 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.2646, allocations: 102.4 kB / 483.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.2646, allocations: 13.62 kB / 483.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.2648, allocations: 51.34 kB / 483.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.2649, allocations: 25.36 kB / 483.2 MB, free: 6.773 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.000206/0.2651, allocations: 211.7 kB / 483.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.2651, allocations: 47.3 kB / 483.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004966/0.2656, allocations: 315 kB / 483.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2657, allocations: 2.125 kB / 483.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2657, allocations: 0 / 483.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2657, allocations: 1.188 kB / 483.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.266, allocations: 431.1 kB / 484.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.266, allocations: 3.938 kB / 484.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.2664, allocations: 59.94 kB / 484.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2664, allocations: 1.094 kB / 484.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.2664, allocations: 6.281 kB / 484.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2664, allocations: 1.25 kB / 484.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2664, allocations: 7.984 kB / 484.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.267, allocations: 0.4908 MB / 484.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.2671, allocations: 128.1 kB / 484.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.2671, allocations: 6.219 kB / 484.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2673, allocations: 16.02 kB / 484.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.2673, allocations: 14.48 kB / 484.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.2673, allocations: 13.95 kB / 484.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.2676, allocations: 336.7 kB / 485.2 MB, free: 5.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2676, allocations: 0 / 485.2 MB, free: 5.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003591/0.268, allocations: 74.84 kB / 485.3 MB, free: 5.297 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.0006908/0.2687, allocations: 1.039 MB / 486.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004375/0.2691, allocations: 293.5 kB / 486.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2691, allocations: 4 kB / 486.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.2693, allocations: 115.8 kB / 486.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.2696, allocations: 47.95 kB / 486.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.2737, allocations: 4.154 MB / 491 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.274, allocations: 0.8714 MB / 491.8 MB, free: 460 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001806/0.2742, allocations: 72.16 kB / 491.9 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.2744, allocations: 160.7 kB / 492.1 MB, free: 292 kB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2744, allocations: 0 / 492.1 MB, free: 292 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.3053, allocations: 7.208 MB / 499.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/7.965, allocations: 8.719 kB / 499.3 MB, free: 10.64 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl.fmu > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1)