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.001295/0.001295, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001556/0.001556, allocations: 210.7 kB / 22.24 MB, free: 5.262 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.738 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.0625/0.0625, allocations: 11.35 MB / 323.8 MB, free: 8 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.002059/0.002059, allocations: 63.91 kB / 451 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1094, allocations: 56.07 MB / 0.4951 GB, free: 2.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.004056/0.1134, allocations: 2.3 MB / 0.4974 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1149, allocations: 0.6753 MB / 0.4981 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.115, allocations: 19.81 kB / 0.4981 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.1153, allocations: 83.19 kB / 0.4981 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.1154, allocations: 47.48 kB / 0.4982 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008098/0.1162, allocations: 383.3 kB / 0.4986 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008891/0.1171, allocations: 0.7739 MB / 0.4993 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.1173, allocations: 75.62 kB / 0.4994 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.1176, allocations: 231.2 kB / 0.4996 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.1179, allocations: 214.8 kB / 0.4998 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.966e-05/0.118, allocations: 40 kB / 0.4999 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-05/0.118, allocations: 40 kB / 0.4999 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.1182, allocations: 163.5 kB / 0.5 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.1184, allocations: 170.9 kB / 0.5002 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005552/0.119, allocations: 0.5133 MB / 0.5007 GB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.119, allocations: 3.984 kB / 0.5007 GB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.119, allocations: 0 / 0.5007 GB, free: 12.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.119, allocations: 4 kB / 0.5007 GB, free: 12.41 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.001205/0.1202, allocations: 0.7211 MB / 0.5014 GB, free: 11.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1202, allocations: 8.031 kB / 0.5014 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.073e-05/0.1203, allocations: 86.64 kB / 0.5015 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.015e-05/0.1204, allocations: 64.52 kB / 0.5016 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006271/0.121, allocations: 383 kB / 0.5019 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.1211, allocations: 29.38 kB / 0.502 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-05/0.1211, allocations: 44.38 kB / 0.502 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/0.1219, allocations: 476.6 kB / 0.5025 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.1219, allocations: 7.875 kB / 0.5025 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.1219, allocations: 16 kB / 0.5025 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1219, allocations: 12 kB / 0.5025 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006044/0.1226, allocations: 343.7 kB / 0.5028 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.1251, allocations: 1.88 MB / 0.5047 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.1254, allocations: 190.4 kB / 0.5048 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.1256, allocations: 84.81 kB / 0.5049 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.1256, allocations: 8 kB / 0.5049 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.1256, allocations: 34.56 kB / 0.505 GB, free: 7.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.1256, allocations: 7.938 kB / 0.505 GB, free: 7.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006643/0.1263, allocations: 337.5 kB / 0.5053 GB, free: 7.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.1264, allocations: 59.34 kB / 0.5053 GB, free: 7.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/0.1269, allocations: 0.5017 MB / 0.5058 GB, free: 6.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.127, allocations: 29.7 kB / 0.5059 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.1272, allocations: 300 kB / 0.5062 GB, free: 6.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.1273, allocations: 79.33 kB / 0.5062 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1274, allocations: 86.08 kB / 0.5063 GB, free: 6.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1276, allocations: 358.8 kB / 0.5067 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.1277, allocations: 104.8 kB / 0.5068 GB, free: 5.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/0.1281, allocations: 276.2 kB / 0.507 GB, free: 5.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.1297, allocations: 0.6469 MB / 0.5076 GB, free: 4.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1297, allocations: 0 / 0.5076 GB, free: 4.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007488/0.1305, allocations: 468.5 kB / 0.5081 GB, free: 4.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1305, allocations: 4.812 kB / 0.5081 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1305, allocations: 8 kB / 0.5081 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.1305, allocations: 15.94 kB / 0.5081 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.1309, allocations: 95.89 kB / 0.5082 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.1309, allocations: 11.94 kB / 0.5082 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.1311, allocations: 55.61 kB / 0.5083 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.1312, allocations: 20 kB / 0.5083 GB, free: 4.184 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.0002777/0.1314, allocations: 210.4 kB / 0.5085 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.1315, allocations: 47.72 kB / 0.5085 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005849/0.1321, allocations: 319.7 kB / 0.5088 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1321, allocations: 4 kB / 0.5089 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1321, allocations: 0 / 0.5089 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1321, allocations: 11.97 kB / 0.5089 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004883/0.1326, allocations: 372.4 kB / 0.5092 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1326, allocations: 3.984 kB / 0.5092 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.133, allocations: 67.97 kB / 0.5093 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.133, allocations: 0 / 0.5093 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.133, allocations: 8 kB / 0.5093 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.133, allocations: 0 / 0.5093 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.133, allocations: 0 / 0.5093 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.1337, allocations: 0.4992 MB / 0.5098 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.1338, allocations: 39.66 kB / 0.5098 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.1338, allocations: 12 kB / 0.5098 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.134, allocations: 11.98 kB / 0.5098 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.134, allocations: 15.97 kB / 0.5099 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.134, allocations: 8 kB / 0.5099 GB, free: 2.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003836/0.1344, allocations: 338.8 kB / 0.5102 GB, free: 2.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1344, allocations: 0 / 0.5102 GB, free: 2.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.1348, allocations: 71.84 kB / 0.5103 GB, free: 2.113 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.001009/0.1358, allocations: 1.044 MB / 0.5113 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004979/0.1363, allocations: 277 kB / 0.5115 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1363, allocations: 8.062 kB / 0.5115 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.1365, allocations: 107.9 kB / 0.5117 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1368, allocations: 44.45 kB / 0.5117 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1919/0.3288, allocations: 4.144 MB / 0.5157 GB, free: 21.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.329, allocations: 268.9 kB / 0.516 GB, free: 21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001989/0.3292, allocations: 74.11 kB / 0.5161 GB, free: 20.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.3294, allocations: 163.9 kB / 0.5162 GB, free: 20.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3294, allocations: 0 / 0.5162 GB, free: 20.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03533/0.3647, allocations: 7.705 MB / 0.5237 GB, free: 19.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.22, allocations: 9.172 kB / 0.5238 GB, free: 19.84 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.70514431875199] Failed to read output from testmodel.py, exit status != 0: 11.32768762204796 11.346170964 11.223825917 Calling exit ...