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.001294/0.001294, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.001479/0.001479, allocations: 214.4 kB / 22.25 MB, free: 5.082 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 8 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.06404/0.06404, allocations: 11.35 MB / 323.8 MB, free: 8.207 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="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.002148/0.002148, allocations: 67.89 kB / 451 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.137, allocations: 56.07 MB / 0.4952 GB, free: 2.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.004122/0.1411, allocations: 2.456 MB / 0.4976 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1426, allocations: 0.6908 MB / 0.4983 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.1429, allocations: 19.81 kB / 0.4983 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1431, allocations: 87.17 kB / 0.4984 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.1433, allocations: 51.48 kB / 0.4984 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009079/0.1442, allocations: 391.3 kB / 0.4988 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009389/0.1451, allocations: 0.7778 MB / 0.4996 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.1453, allocations: 83.61 kB / 0.4997 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003055/0.1456, allocations: 227.2 kB / 0.4999 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.1459, allocations: 226.8 kB / 0.5001 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.672e-05/0.146, allocations: 40 kB / 0.5001 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.914e-05/0.1461, allocations: 40 kB / 0.5002 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.1462, allocations: 175.4 kB / 0.5003 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.1464, allocations: 214.6 kB / 0.5005 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006497/0.1471, allocations: 0.5094 MB / 0.501 GB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1471, allocations: 0 / 0.501 GB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1471, allocations: 0 / 0.501 GB, free: 12.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1471, allocations: 0 / 0.501 GB, free: 12.32 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.1484, allocations: 0.7231 MB / 0.5017 GB, free: 11.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1485, allocations: 8.031 kB / 0.5018 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.1486, allocations: 74.72 kB / 0.5018 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.1487, allocations: 64.52 kB / 0.5019 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.1493, allocations: 395 kB / 0.5023 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.1494, allocations: 29.38 kB / 0.5023 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/0.1494, allocations: 40.38 kB / 0.5023 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000817/0.1503, allocations: 480.6 kB / 0.5028 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.1503, allocations: 7.922 kB / 0.5028 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.1503, allocations: 16 kB / 0.5028 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.1503, allocations: 15.98 kB / 0.5028 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000618/0.151, allocations: 339.7 kB / 0.5032 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.1536, allocations: 1.969 MB / 0.5051 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.1539, allocations: 190.4 kB / 0.5053 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.1541, allocations: 92.75 kB / 0.5053 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.1541, allocations: 0 / 0.5053 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1542, allocations: 42.5 kB / 0.5054 GB, free: 7.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.1542, allocations: 0 / 0.5054 GB, free: 7.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006909/0.1549, allocations: 333.5 kB / 0.5057 GB, free: 7.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.1549, allocations: 59.39 kB / 0.5058 GB, free: 7.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005904/0.1555, allocations: 0.4901 MB / 0.5062 GB, free: 6.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1555, allocations: 29.7 kB / 0.5063 GB, free: 6.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.1558, allocations: 304 kB / 0.5066 GB, free: 6.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.29e-05/0.1559, allocations: 87.31 kB / 0.5066 GB, free: 6.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.156, allocations: 86.08 kB / 0.5067 GB, free: 6.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.1562, allocations: 354.8 kB / 0.5071 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.1564, allocations: 104.8 kB / 0.5072 GB, free: 5.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.1567, allocations: 280.1 kB / 0.5074 GB, free: 5.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.1585, allocations: 0.6507 MB / 0.5081 GB, free: 4.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.1585, allocations: 4 kB / 0.5081 GB, free: 4.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007961/0.1593, allocations: 457.4 kB / 0.5085 GB, free: 4.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.1593, allocations: 8 kB / 0.5085 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.1593, allocations: 11.98 kB / 0.5085 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.1593, allocations: 12 kB / 0.5085 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.1597, allocations: 95.83 kB / 0.5086 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.1597, allocations: 11.94 kB / 0.5086 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.1599, allocations: 59.55 kB / 0.5087 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.16, allocations: 20 kB / 0.5087 GB, free: 4 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.0003139/0.1603, allocations: 220.9 kB / 0.5089 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.089e-05/0.1604, allocations: 43.72 kB / 0.509 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006292/0.161, allocations: 307.9 kB / 0.5093 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.161, allocations: 8 kB / 0.5093 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.161, allocations: 4 kB / 0.5093 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.161, allocations: 0 / 0.5093 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.1616, allocations: 408.2 kB / 0.5097 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1616, allocations: 0 / 0.5097 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.162, allocations: 63.91 kB / 0.5097 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.162, allocations: 0 / 0.5097 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.162, allocations: 4 kB / 0.5097 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.162, allocations: 7.984 kB / 0.5097 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.162, allocations: 3.938 kB / 0.5097 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007499/0.1628, allocations: 0.4948 MB / 0.5102 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.1629, allocations: 47.72 kB / 0.5103 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.1629, allocations: 4 kB / 0.5103 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.163, allocations: 15.92 kB / 0.5103 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.1631, allocations: 15.97 kB / 0.5103 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1631, allocations: 12 kB / 0.5103 GB, free: 2.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000402/0.1635, allocations: 342.8 kB / 0.5106 GB, free: 1.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1635, allocations: 0 / 0.5106 GB, free: 1.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003831/0.1639, allocations: 67.84 kB / 0.5107 GB, free: 1.902 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.00134/0.1652, allocations: 1.04 MB / 0.5117 GB, free: 0.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005759/0.1658, allocations: 280.6 kB / 0.512 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1658, allocations: 384 / 0.512 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.1661, allocations: 119.9 kB / 0.5121 GB, free: 452 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.1665, allocations: 40.3 kB / 0.5121 GB, free: 416 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2468/0.4133, allocations: 4.143 MB / 0.5162 GB, free: 20.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.4136, allocations: 0.8721 MB / 0.517 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.4138, allocations: 72.91 kB / 0.5171 GB, free: 20.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.4139, allocations: 167.4 kB / 0.5173 GB, free: 20.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4139, allocations: 0 / 0.5173 GB, free: 20.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03901/0.453, allocations: 7.545 MB / 0.5246 GB, free: 19.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.11, allocations: 9.891 kB / 0.5246 GB, free: 19.48 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.90394574200036] Failed to read output from testmodel.py, exit status != 0: 12.221351617998153 12.235858561 12.085694207 Calling exit ...