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.001319/0.001319, allocations: 106.2 kB / 18.84 MB, free: 3.027 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.001561/0.001561, allocations: 213.1 kB / 22.13 MB, free: 5.164 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.506/1.506, allocations: 230.5 MB / 255.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06503/0.06503, allocations: 11.36 MB / 323.5 MB, free: 8.254 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-master/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: 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.001981/0.001981, allocations: 67.89 kB / 450.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1177, allocations: 56.07 MB / 0.4949 GB, free: 2.465 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.004576/0.1223, allocations: 2.281 MB / 0.4971 GB, free: 172 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1239, allocations: 0.6791 MB / 0.4978 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003103/0.1242, allocations: 19.81 kB / 0.4978 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.1246, allocations: 87.17 kB / 0.4979 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.1248, allocations: 51.48 kB / 0.4979 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1258, allocations: 391.3 kB / 0.4983 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.127, allocations: 0.7817 MB / 0.499 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.1273, allocations: 91.59 kB / 0.4991 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003928/0.1277, allocations: 219.2 kB / 0.4993 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.128, allocations: 222.8 kB / 0.4996 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.869e-05/0.1281, allocations: 44 kB / 0.4996 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.254e-05/0.1282, allocations: 40 kB / 0.4996 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.1284, allocations: 171.4 kB / 0.4998 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.1287, allocations: 166.9 kB / 0.5 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006802/0.1293, allocations: 0.5172 MB / 0.5005 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1293, allocations: 0 / 0.5005 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1293, allocations: 0 / 0.5005 GB, free: 12.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.1294, allocations: 0 / 0.5005 GB, free: 12.7 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.001503/0.1309, allocations: 0.7153 MB / 0.5012 GB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1309, allocations: 15.97 kB / 0.5012 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.131, allocations: 82.7 kB / 0.5013 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.1311, allocations: 64.52 kB / 0.5013 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006657/0.1318, allocations: 391 kB / 0.5017 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.1318, allocations: 29.38 kB / 0.5017 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.1319, allocations: 40.38 kB / 0.5018 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000815/0.1327, allocations: 476.6 kB / 0.5022 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.1327, allocations: 15.92 kB / 0.5022 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/0.1328, allocations: 16 kB / 0.5022 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1328, allocations: 8 kB / 0.5022 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000688/0.1335, allocations: 339.7 kB / 0.5026 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.1363, allocations: 1.88 MB / 0.5044 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.1367, allocations: 189.3 kB / 0.5046 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.1369, allocations: 88.81 kB / 0.5047 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.1369, allocations: 8 kB / 0.5047 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1369, allocations: 38.5 kB / 0.5047 GB, free: 8.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.305e-06/0.1369, allocations: 0 / 0.5047 GB, free: 8.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007296/0.1377, allocations: 341.5 kB / 0.505 GB, free: 7.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.1377, allocations: 51.41 kB / 0.5051 GB, free: 7.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006439/0.1384, allocations: 0.4978 MB / 0.5056 GB, free: 7.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.1384, allocations: 25.7 kB / 0.5056 GB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.1387, allocations: 304 kB / 0.5059 GB, free: 6.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/0.1387, allocations: 95.25 kB / 0.506 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.1389, allocations: 82.08 kB / 0.5061 GB, free: 6.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.1391, allocations: 358.8 kB / 0.5064 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.1393, allocations: 104.8 kB / 0.5065 GB, free: 6.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.1396, allocations: 272.1 kB / 0.5068 GB, free: 5.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.1414, allocations: 0.657 MB / 0.5074 GB, free: 5.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1414, allocations: 0 / 0.5074 GB, free: 5.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008384/0.1423, allocations: 465.4 kB / 0.5078 GB, free: 4.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.1423, allocations: 11.98 kB / 0.5079 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1423, allocations: 4 kB / 0.5079 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.1423, allocations: 8 kB / 0.5079 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.1427, allocations: 99.83 kB / 0.508 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/0.1427, allocations: 11.94 kB / 0.508 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.143, allocations: 59.55 kB / 0.508 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.143, allocations: 20 kB / 0.5081 GB, free: 4.469 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.0003318/0.1434, allocations: 218.5 kB / 0.5083 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.419e-05/0.1434, allocations: 39.72 kB / 0.5083 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006327/0.1441, allocations: 315.9 kB / 0.5086 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1441, allocations: 0 / 0.5086 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1441, allocations: 0 / 0.5086 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1441, allocations: 4 kB / 0.5086 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.1446, allocations: 372.3 kB / 0.509 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1446, allocations: 0 / 0.509 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.145, allocations: 67.89 kB / 0.509 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.145, allocations: 4 kB / 0.509 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.145, allocations: 8 kB / 0.509 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.145, allocations: 0 / 0.509 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.145, allocations: 4 kB / 0.509 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.1458, allocations: 0.4909 MB / 0.5095 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.1459, allocations: 51.7 kB / 0.5096 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.1459, allocations: 4 kB / 0.5096 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.1461, allocations: 8 kB / 0.5096 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.1461, allocations: 15.97 kB / 0.5096 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1462, allocations: 11.98 kB / 0.5096 GB, free: 2.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004089/0.1466, allocations: 342.8 kB / 0.5099 GB, free: 2.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1466, allocations: 4 kB / 0.5099 GB, free: 2.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.147, allocations: 71.78 kB / 0.51 GB, free: 2.406 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.001116/0.1481, allocations: 1.039 MB / 0.511 GB, free: 1.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005692/0.1486, allocations: 288.5 kB / 0.5113 GB, free: 1.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1486, allocations: 0 / 0.5113 GB, free: 1.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.1488, allocations: 111.9 kB / 0.5114 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.1492, allocations: 45.94 kB / 0.5114 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2167/0.3659, allocations: 4.147 MB / 0.5155 GB, free: 21.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.3662, allocations: 270.5 kB / 0.5158 GB, free: 21.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.3664, allocations: 74.27 kB / 0.5158 GB, free: 21.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.3666, allocations: 164.2 kB / 0.516 GB, free: 21.49 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3666, allocations: 0 / 0.516 GB, free: 21.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03911/0.4057, allocations: 7.303 MB / 0.5231 GB, free: 20.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.92, allocations: 2.469 kB / 0.5231 GB, free: 20.82 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 & 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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.701712164911442] Failed to read output from testmodel.py, exit status != 0: 12.032141413073987 12.0532044 11.919894713 Calling exit ...