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 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.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.006388/0.006388, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001378/0.001378, allocations: 187 kB / 16.67 MB, free: 5.969 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.528/1.528, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0729/0.0729, allocations: 10.74 MB / 280.6 MB, free: 10.43 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.001647/0.001647, allocations: 71.83 kB / 390.3 MB, free: 5.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3436, allocations: 49.02 MB / 439.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003707/0.3473, allocations: 2.271 MB / 441.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3486, allocations: 0.6457 MB / 442.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.3488, allocations: 18.66 kB / 442.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.349, allocations: 62.91 kB / 442.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.3492, allocations: 46.7 kB / 442.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007278/0.3499, allocations: 326.5 kB / 442.7 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006558/0.3506, allocations: 0.6533 MB / 443.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.3508, allocations: 99.2 kB / 443.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.351, allocations: 205.4 kB / 443.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.3513, allocations: 209.3 kB / 443.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.024e-05/0.3514, allocations: 37.25 kB / 443.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.609e-05/0.3514, allocations: 37.09 kB / 443.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.3516, allocations: 148.4 kB / 444.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.3518, allocations: 200.8 kB / 444.3 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.3522, allocations: 481.4 kB / 444.8 MB, free: 1.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3523, allocations: 0 / 444.8 MB, free: 1.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3523, allocations: 0 / 444.8 MB, free: 1.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.3523, allocations: 1.344 kB / 444.8 MB, free: 1.762 MB / 318.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.001073/0.3534, allocations: 0.7493 MB / 445.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3534, allocations: 8.938 kB / 445.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.46e-05/0.3535, allocations: 70.34 kB / 445.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.489e-05/0.3536, allocations: 53.97 kB / 445.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.3541, allocations: 443.4 kB / 446.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.3542, allocations: 22.19 kB / 446.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.3542, allocations: 34.55 kB / 446.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.3549, allocations: 410.6 kB / 446.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.3549, allocations: 5.062 kB / 446.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.355, allocations: 14.47 kB / 446.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.355, allocations: 8.75 kB / 446.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005719/0.3556, allocations: 310 kB / 446.9 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.3578, allocations: 1.587 MB / 448.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.3581, allocations: 196.6 kB / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.3583, allocations: 98.5 kB / 448.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.3584, allocations: 3.531 kB / 448.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.3584, allocations: 35.78 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.3584, allocations: 0 / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.000705/0.3591, allocations: 329 kB / 449.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.3592, allocations: 61.81 kB / 449.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.3597, allocations: 459.4 kB / 449.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3598, allocations: 31.3 kB / 449.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.36, allocations: 263.6 kB / 449.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.498e-05/0.3601, allocations: 76.19 kB / 450 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.3602, allocations: 78.39 kB / 450 MB, free: 14.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3604, allocations: 357.6 kB / 450.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.3605, allocations: 92.25 kB / 450.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.3608, allocations: 230.6 kB / 450.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.3623, allocations: 0.5729 MB / 451.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.3623, allocations: 1.094 kB / 451.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006507/0.363, allocations: 405.8 kB / 451.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.363, allocations: 6.625 kB / 451.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.363, allocations: 5.406 kB / 451.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.363, allocations: 5.875 kB / 451.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.3634, allocations: 96.14 kB / 451.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.3634, allocations: 10.81 kB / 451.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.3636, allocations: 41.36 kB / 451.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.3637, allocations: 20.31 kB / 451.9 MB, free: 12.79 MB / 334.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: 19 * Number of states: 0 () * Number of discrete variables: 4 (controller2.TS_in,controller1.TS_in,controller2.ATreq_in,controller1.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0002582/0.3639, allocations: 206.2 kB / 452.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.364, allocations: 37.41 kB / 452.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005591/0.3646, allocations: 312.8 kB / 452.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.3646, allocations: 2.938 kB / 452.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3646, allocations: 0 / 452.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.3646, allocations: 7.984 kB / 452.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.3651, allocations: 414.7 kB / 452.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3651, allocations: 1.156 kB / 452.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.3655, allocations: 63.78 kB / 452.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3655, allocations: 0 / 452.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.3655, allocations: 10.36 kB / 452.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3655, allocations: 5.188 kB / 452.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3655, allocations: 1.188 kB / 452.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007398/0.3663, allocations: 498.5 kB / 453.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.3664, allocations: 121.8 kB / 453.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.3665, allocations: 10.08 kB / 453.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3666, allocations: 4.469 kB / 453.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.3667, allocations: 18.94 kB / 453.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.3667, allocations: 5.5 kB / 453.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004788/0.3672, allocations: 323.9 kB / 453.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3672, allocations: 4 kB / 453.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.3676, allocations: 61.59 kB / 453.9 MB, free: 11.34 MB / 334.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.0009906/0.3686, allocations: 1.028 MB / 455 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004817/0.3691, allocations: 275.9 kB / 455.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3691, allocations: 0 / 455.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.3693, allocations: 108.8 kB / 455.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.3697, allocations: 41.83 kB / 455.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005337/0.375, allocations: 3.845 MB / 459.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.3756, allocations: 0.8591 MB / 460.1 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.3758, allocations: 69.83 kB / 460.1 MB, free: 6.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.376, allocations: 146.6 kB / 460.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.376, allocations: 0 / 460.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.4073, allocations: 6.916 MB / 467.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.458/8.865, allocations: 5.375 kB / 467.2 MB, free: 0.6406 MB / 334.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)