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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008696/0.0008696, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008/0.0008, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9095/0.9095, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03488/0.03488, allocations: 8.611 MB / 267.8 MB, free: 5.133 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 3.938 kB / 395.1 MB, free: 1.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.263e-05, allocations: 5.234 kB / 395.1 MB, free: 1.492 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003808/0.003831, allocations: 2.276 MB / 397.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.005351, allocations: 0.683 MB / 398 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/0.005653, allocations: 19.75 kB / 398 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.005945, allocations: 87.17 kB / 398.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.006115, allocations: 51.42 kB / 398.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.00731, allocations: 435.1 kB / 398.6 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008178/0.008128, allocations: 0.5943 MB / 399.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.008358, allocations: 75.41 kB / 399.3 MB, free: 13.26 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003611/0.008719, allocations: 259.4 kB / 399.5 MB, free: 13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.009021, allocations: 171.4 kB / 399.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.785e-05/0.009099, allocations: 44 kB / 399.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.784e-05/0.009157, allocations: 40 kB / 399.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.009328, allocations: 159.4 kB / 399.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.009468, allocations: 131.6 kB / 400.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006499/0.01012, allocations: 0.5061 MB / 400.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.01012, allocations: 0 / 400.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01012, allocations: 0 / 400.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.01014, allocations: 0 / 400.6 MB, free: 11.96 MB / 330.7 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.001319/0.01146, allocations: 0.7218 MB / 401.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.01151, allocations: 8.031 kB / 401.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.064e-05/0.0116, allocations: 86.7 kB / 401.4 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.491e-05/0.0117, allocations: 60.56 kB / 401.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.0123, allocations: 394.1 kB / 401.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.01233, allocations: 29.38 kB / 401.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/0.0124, allocations: 40.38 kB / 401.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007357/0.01313, allocations: 480.6 kB / 402.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.01315, allocations: 192 / 402.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.01319, allocations: 16.38 kB / 402.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.0132, allocations: 16.12 kB / 402.4 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000583/0.01379, allocations: 343.7 kB / 402.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.01584, allocations: 1.876 MB / 404.6 MB, free: 7.715 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.01609, allocations: 186.5 kB / 404.8 MB, free: 7.523 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.01619, allocations: 84.81 kB / 404.9 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.01622, allocations: 7.984 kB / 404.9 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.01624, allocations: 38.56 kB / 404.9 MB, free: 7.383 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.01624, allocations: 4 kB / 404.9 MB, free: 7.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005085/0.01675, allocations: 329.5 kB / 405.2 MB, free: 7.051 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.0168, allocations: 55.34 kB / 405.3 MB, free: 6.984 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.01724, allocations: 0.5095 MB / 405.8 MB, free: 6.465 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.01727, allocations: 29.69 kB / 405.8 MB, free: 6.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.01745, allocations: 303.9 kB / 406.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.0175, allocations: 75.38 kB / 406.2 MB, free: 6.055 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/0.01759, allocations: 90.09 kB / 406.3 MB, free: 5.961 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.01771, allocations: 358.8 kB / 406.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.01785, allocations: 108.9 kB / 406.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.01807, allocations: 280.8 kB / 407 MB, free: 5.133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.01913, allocations: 0.6436 MB / 407.7 MB, free: 4.406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.01913, allocations: 4 kB / 407.7 MB, free: 4.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004899/0.01962, allocations: 464.5 kB / 408.1 MB, free: 3.941 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.01964, allocations: 8.812 kB / 408.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.01965, allocations: 8 kB / 408.1 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.01967, allocations: 12 kB / 408.2 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.0199, allocations: 103.8 kB / 408.3 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.01991, allocations: 8 kB / 408.3 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.02003, allocations: 47.66 kB / 408.3 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.02005, allocations: 23.94 kB / 408.3 MB, free: 3.734 MB / 330.7 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.0002024/0.02025, allocations: 206.6 kB / 408.5 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.02029, allocations: 51.66 kB / 408.6 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004011/0.02069, allocations: 316 kB / 408.9 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.0207, allocations: 7.984 kB / 408.9 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.02071, allocations: 0 / 408.9 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.02071, allocations: 7.984 kB / 408.9 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.02106, allocations: 364.5 kB / 409.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.02106, allocations: 0 / 409.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.02126, allocations: 71.83 kB / 409.3 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.02126, allocations: 0 / 409.3 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.02128, allocations: 12 kB / 409.3 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.02128, allocations: 0 / 409.3 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.02128, allocations: 0 / 409.3 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.02181, allocations: 499.7 kB / 409.8 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.02186, allocations: 55.61 kB / 409.9 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.02189, allocations: 8 kB / 409.9 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.02196, allocations: 11.98 kB / 409.9 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.02201, allocations: 11.97 kB / 409.9 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.02202, allocations: 8 kB / 409.9 MB, free: 2.062 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002457/0.02226, allocations: 342.8 kB / 410.3 MB, free: 1.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02226, allocations: 3.938 kB / 410.3 MB, free: 1.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000281/0.02254, allocations: 71.84 kB / 410.3 MB, free: 1.656 MB / 330.7 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.0009683/0.02351, allocations: 1.039 MB / 411.4 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.02387, allocations: 273.2 kB / 411.6 MB, free: 336 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.02387, allocations: 4.062 kB / 411.6 MB, free: 332 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.02399, allocations: 119.7 kB / 411.8 MB, free: 212 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.02427, allocations: 52.83 kB / 411.8 MB, free: 168 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1415/0.1658, allocations: 4.119 MB / 415.9 MB, free: 26.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.166, allocations: 270.8 kB / 416.2 MB, free: 26.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.1662, allocations: 74.56 kB / 416.3 MB, free: 26.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.1663, allocations: 165.2 kB / 416.4 MB, free: 26.6 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1663, allocations: 0 / 416.4 MB, free: 26.6 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.1894, allocations: 7.855 MB / 424.3 MB, free: 24.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.336, allocations: 10.19 kB / 424.3 MB, free: 24.79 MB / 330.7 MB " [Timeout remaining time 653] (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 --stepSize=0.02 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl.fmu > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.099124857224524] Failed to read output from testmodel.py, exit status != 0: 7.420277495868504 7.429087175 7.416532041 Calling exit ...