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.001222/0.001222, allocations: 105.5 kB / 19.73 MB, free: 2.223 MB / 14.72 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.001458/0.001458, allocations: 213.9 kB / 23.04 MB, free: 5.055 MB / 14.72 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 1.378/1.378, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.0626/0.0626, allocations: 11.34 MB / 324.6 MB, free: 8.219 MB / 254.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 75.89 kB / 451.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1059, allocations: 56.07 MB / 0.496 GB, free: 2.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003976/0.1099, allocations: 2.456 MB / 0.4984 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.1116, allocations: 0.6947 MB / 0.4991 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.1119, allocations: 19.75 kB / 0.4991 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.1121, allocations: 79.25 kB / 0.4992 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.1123, allocations: 51.42 kB / 0.4992 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008956/0.1132, allocations: 395.3 kB / 0.4996 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009285/0.1141, allocations: 0.7778 MB / 0.5004 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.1143, allocations: 87.61 kB / 0.5004 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.1146, allocations: 227.2 kB / 0.5007 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.1149, allocations: 222.8 kB / 0.5009 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/0.115, allocations: 40 kB / 0.5009 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.962e-05/0.1151, allocations: 40 kB / 0.5009 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.1152, allocations: 167.5 kB / 0.5011 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.1155, allocations: 214.6 kB / 0.5013 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006427/0.1161, allocations: 0.5172 MB / 0.5018 GB, free: 12.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1161, allocations: 4 kB / 0.5018 GB, free: 12.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1161, allocations: 0 / 0.5018 GB, free: 12.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.1161, allocations: 0 / 0.5018 GB, free: 12.34 MB / 382.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.001295/0.1174, allocations: 0.7229 MB / 0.5025 GB, free: 11.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1175, allocations: 12.03 kB / 0.5025 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.981e-05/0.1175, allocations: 9.188 kB / 0.5025 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.099e-05/0.1176, allocations: 78.7 kB / 0.5026 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.74e-05/0.1177, allocations: 64.52 kB / 0.5027 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006281/0.1183, allocations: 387 kB / 0.503 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.1183, allocations: 29.38 kB / 0.5031 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.1184, allocations: 36.38 kB / 0.5031 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007427/0.1191, allocations: 492.3 kB / 0.5036 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.1192, allocations: 7.984 kB / 0.5036 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.1192, allocations: 16 kB / 0.5036 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.1192, allocations: 12 kB / 0.5036 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/0.1198, allocations: 339.7 kB / 0.5039 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.1224, allocations: 1.965 MB / 0.5059 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.1227, allocations: 190.4 kB / 0.506 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.1229, allocations: 88.81 kB / 0.5061 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.1229, allocations: 3.984 kB / 0.5061 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1229, allocations: 42.56 kB / 0.5062 GB, free: 7.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.1229, allocations: 0 / 0.5062 GB, free: 7.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006588/0.1236, allocations: 339.3 kB / 0.5065 GB, free: 7.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.1236, allocations: 51.41 kB / 0.5065 GB, free: 7.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/0.1242, allocations: 0.494 MB / 0.507 GB, free: 6.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1242, allocations: 25.7 kB / 0.507 GB, free: 6.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.1245, allocations: 308 kB / 0.5073 GB, free: 6.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.923e-05/0.1245, allocations: 87.31 kB / 0.5074 GB, free: 6.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1247, allocations: 82.08 kB / 0.5075 GB, free: 6.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1248, allocations: 358.8 kB / 0.5078 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.125, allocations: 104.8 kB / 0.5079 GB, free: 5.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.1254, allocations: 284.1 kB / 0.5082 GB, free: 5.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.1271, allocations: 0.6468 MB / 0.5088 GB, free: 4.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1271, allocations: 4 kB / 0.5089 GB, free: 4.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007442/0.1278, allocations: 461.4 kB / 0.5093 GB, free: 4.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1278, allocations: 8 kB / 0.5093 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.1278, allocations: 12.03 kB / 0.5093 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.1279, allocations: 8 kB / 0.5093 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.1282, allocations: 99.83 kB / 0.5094 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.1283, allocations: 11.98 kB / 0.5094 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.1284, allocations: 51.56 kB / 0.5095 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.1285, allocations: 23.94 kB / 0.5095 GB, free: 4.012 MB / 382.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.0002866/0.1288, allocations: 225.1 kB / 0.5097 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.1288, allocations: 43.72 kB / 0.5098 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005963/0.1294, allocations: 311.2 kB / 0.51 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1294, allocations: 8 kB / 0.5101 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1294, allocations: 0 / 0.5101 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1294, allocations: 0 / 0.5101 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.13, allocations: 400.2 kB / 0.5104 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.13, allocations: 4 kB / 0.5104 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.1303, allocations: 67.89 kB / 0.5105 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1303, allocations: 7.938 kB / 0.5105 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.1303, allocations: 4 kB / 0.5105 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1303, allocations: 4 kB / 0.5105 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1303, allocations: 4 kB / 0.5105 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007185/0.1311, allocations: 495.5 kB / 0.511 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.1311, allocations: 51.7 kB / 0.511 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.1312, allocations: 4 kB / 0.5111 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.1313, allocations: 4 kB / 0.5111 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.1314, allocations: 23.95 kB / 0.5111 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1314, allocations: 8 kB / 0.5111 GB, free: 2.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003683/0.1317, allocations: 338.8 kB / 0.5114 GB, free: 1.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1317, allocations: 0 / 0.5114 GB, free: 1.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003799/0.1321, allocations: 75.84 kB / 0.5115 GB, free: 1.918 MB / 382.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.001051/0.1332, allocations: 1.044 MB / 0.5125 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005249/0.1337, allocations: 280.6 kB / 0.5128 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1337, allocations: 448 / 0.5128 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.1339, allocations: 122.7 kB / 0.5129 GB, free: 464 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1343, allocations: 37.95 kB / 0.5129 GB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1862/0.3204, allocations: 4.138 MB / 0.517 GB, free: 21.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.3207, allocations: 0.8688 MB / 0.5178 GB, free: 20.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001821/0.3209, allocations: 76.44 kB / 0.5179 GB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.321, allocations: 163.8 kB / 0.518 GB, free: 20.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.321, allocations: 0 / 0.518 GB, free: 20.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.3511, allocations: 7.585 MB / 0.5254 GB, free: 19.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.46, allocations: 6.578 kB / 0.5255 GB, free: 19.93 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.027586248936132] Failed to read output from testmodel.py, exit status != 0: 11.622733221040107 11.636756421 11.5178674 Calling exit ...