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.0007813/0.0007813, 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.0008152/0.0008152, 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.9058/0.9058, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.03431/0.03431, allocations: 8.607 MB / 267.8 MB, free: 5.129 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 1.333e-06/1.333e-06, allocations: 0 / 395.1 MB, free: 2.688 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.821e-05, allocations: 6.219 kB / 395.1 MB, free: 2.68 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.00247/0.002488, allocations: 2.291 MB / 397.4 MB, free: 380 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009422/0.00343, allocations: 0.6791 MB / 398 MB, free: 15.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.003578, allocations: 19.81 kB / 398.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.003771, allocations: 83.19 kB / 398.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.003872, allocations: 51.42 kB / 398.2 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006776/0.004549, allocations: 435.1 kB / 398.6 MB, free: 15.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004209/0.00497, allocations: 0.5943 MB / 399.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.005113, allocations: 77.08 kB / 399.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.005294, allocations: 263.3 kB / 399.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.005459, allocations: 167.4 kB / 399.7 MB, free: 14.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.005501, allocations: 40 kB / 399.7 MB, free: 13.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.249e-05/0.005534, allocations: 40 kB / 399.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.005636, allocations: 159.4 kB / 399.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.131e-05/0.005717, allocations: 131.5 kB / 400.1 MB, free: 13.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.006065, allocations: 0.5099 MB / 400.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006067, allocations: 0 / 400.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006068, allocations: 0 / 400.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.006073, allocations: 0 / 400.6 MB, free: 13.14 MB / 378.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.0007452/0.006818, allocations: 0.7191 MB / 401.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.006856, allocations: 16.03 kB / 401.3 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.855e-05/0.006915, allocations: 74.72 kB / 401.4 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.006972, allocations: 60.56 kB / 401.4 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.007371, allocations: 394.2 kB / 401.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.007396, allocations: 29.38 kB / 401.9 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.00744, allocations: 44.38 kB / 401.9 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.007912, allocations: 476.6 kB / 402.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.007926, allocations: 4.125 kB / 402.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.00795, allocations: 24.38 kB / 402.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.007961, allocations: 12.12 kB / 402.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003741/0.008335, allocations: 343.7 kB / 402.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.009805, allocations: 1.876 MB / 404.6 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.01002, allocations: 190.4 kB / 404.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.01012, allocations: 92.81 kB / 404.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.01014, allocations: 0 / 404.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.01016, allocations: 34.56 kB / 404.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.042e-06/0.01016, allocations: 0 / 404.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004014/0.01056, allocations: 342.8 kB / 405.3 MB, free: 8.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.01059, allocations: 59.34 kB / 405.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.01096, allocations: 0.5056 MB / 405.8 MB, free: 7.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.01097, allocations: 29.7 kB / 405.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.01112, allocations: 300 kB / 406.2 MB, free: 7.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.01116, allocations: 79.34 kB / 406.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.01124, allocations: 86.12 kB / 406.3 MB, free: 7.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.01134, allocations: 354.8 kB / 406.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.01146, allocations: 100.9 kB / 406.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.01166, allocations: 292.7 kB / 407 MB, free: 6.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009271/0.01259, allocations: 0.6468 MB / 407.7 MB, free: 5.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.01259, allocations: 7.938 kB / 407.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004388/0.01303, allocations: 460.5 kB / 408.1 MB, free: 5.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.01305, allocations: 8 kB / 408.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.01305, allocations: 8 kB / 408.2 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.01307, allocations: 8.812 kB / 408.2 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.01327, allocations: 107.8 kB / 408.3 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.01328, allocations: 8 kB / 408.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.01339, allocations: 47.67 kB / 408.3 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.01341, allocations: 27.98 kB / 408.4 MB, free: 4.895 MB / 378.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.0001764/0.01359, allocations: 202.6 kB / 408.6 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.01363, allocations: 47.66 kB / 408.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.01398, allocations: 316.6 kB / 408.9 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01398, allocations: 4 kB / 408.9 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.01399, allocations: 0 / 408.9 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.01399, allocations: 0 / 408.9 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.01428, allocations: 372.4 kB / 409.3 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.01428, allocations: 4 kB / 409.3 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.01447, allocations: 67.91 kB / 409.3 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01447, allocations: 3.984 kB / 409.4 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.01448, allocations: 8 kB / 409.4 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01448, allocations: 0 / 409.4 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01449, allocations: 3.938 kB / 409.4 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.01492, allocations: 499.3 kB / 409.9 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.01497, allocations: 55.56 kB / 409.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.01499, allocations: 12.19 kB / 409.9 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.01506, allocations: 8 kB / 409.9 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.0151, allocations: 15.97 kB / 409.9 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.01511, allocations: 8 kB / 410 MB, free: 3.234 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002365/0.01535, allocations: 338.8 kB / 410.3 MB, free: 2.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01535, allocations: 0 / 410.3 MB, free: 2.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.01561, allocations: 71.84 kB / 410.4 MB, free: 2.836 MB / 378.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.0006334/0.01624, allocations: 1.042 MB / 411.4 MB, free: 1.766 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.01659, allocations: 281.1 kB / 411.7 MB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01659, allocations: 0 / 411.7 MB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.01671, allocations: 112.1 kB / 411.8 MB, free: 1.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.01696, allocations: 45.45 kB / 411.8 MB, free: 1.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.02026, allocations: 4.13 MB / 416 MB, free: 12.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.02045, allocations: 269.8 kB / 416.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.02058, allocations: 71.31 kB / 416.3 MB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.02074, allocations: 168.4 kB / 416.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02074, allocations: 0 / 416.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.04228, allocations: 7.843 MB / 424.3 MB, free: 4.832 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/7.125, allocations: 11.91 kB / 424.3 MB, free: 4.82 MB / 394.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 & 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: 8.99810915067792] Failed to read output from testmodel.py, exit status != 0: 7.2108667306602 7.226162672 7.217935064 Calling exit ...