Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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.001185/0.001185, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001304/0.001304, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.336/1.336, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.06048/0.06048, allocations: 11.33 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.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",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.00188/0.00188, allocations: 71.89 kB / 451.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1121, allocations: 56.07 MB / 0.496 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.00303/0.1151, allocations: 1.673 MB / 0.4976 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006659/0.1158, allocations: 318.8 kB / 0.4979 GB, free: 328 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.1158, allocations: 0 / 0.4979 GB, free: 328 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.601e-05/0.1159, allocations: 7.875 kB / 0.4979 GB, free: 320 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.116, allocations: 23.8 kB / 0.498 GB, free: 296 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.1164, allocations: 87.73 kB / 0.498 GB, free: 208 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.1166, allocations: 135.7 kB / 0.4982 GB, free: 72 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1167, allocations: 18.02 kB / 0.4982 GB, free: 52 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.1168, allocations: 55.75 kB / 0.4982 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.1169, allocations: 63.59 kB / 0.4983 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.1169, allocations: 12 kB / 0.4983 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.117, allocations: 43.97 kB / 0.4983 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.117, allocations: 31.84 kB / 0.4984 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.811e-05/0.1171, allocations: 59.66 kB / 0.4984 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1173, allocations: 147.2 kB / 0.4986 GB, free: 15.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1173, allocations: 0 / 0.4986 GB, free: 15.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1173, allocations: 7.938 kB / 0.4986 GB, free: 15.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1173, allocations: 0 / 0.4986 GB, free: 15.64 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006271/0.1179, allocations: 377.6 kB / 0.4989 GB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1179, allocations: 8.031 kB / 0.499 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.586e-05/0.118, allocations: 4.188 kB / 0.499 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.118, allocations: 38.73 kB / 0.499 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.1181, allocations: 16.84 kB / 0.499 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1183, allocations: 186.1 kB / 0.4992 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1184, allocations: 8.375 kB / 0.4992 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1184, allocations: 8.375 kB / 0.4992 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.1186, allocations: 137.2 kB / 0.4993 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.1187, allocations: 3.938 kB / 0.4993 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1187, allocations: 4 kB / 0.4993 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1187, allocations: 4 kB / 0.4993 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.1188, allocations: 51.97 kB / 0.4994 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/0.1195, allocations: 379.6 kB / 0.4998 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1197, allocations: 106.6 kB / 0.4999 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1198, allocations: 60.78 kB / 0.4999 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.1199, allocations: 4 kB / 0.4999 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/0.1201, allocations: 107.3 kB / 0.5 GB, free: 14.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.1201, allocations: 0 / 0.5 GB, free: 14.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004523/0.1206, allocations: 204.4 kB / 0.5002 GB, free: 13.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.1207, allocations: 166.2 kB / 0.5004 GB, free: 13.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.1209, allocations: 195.2 kB / 0.5006 GB, free: 13.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.1209, allocations: 25.7 kB / 0.5006 GB, free: 13.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.121, allocations: 120.2 kB / 0.5007 GB, free: 13.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.121, allocations: 43.64 kB / 0.5007 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.1211, allocations: 41.7 kB / 0.5008 GB, free: 13.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1212, allocations: 330.8 kB / 0.5011 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.1213, allocations: 39.97 kB / 0.5011 GB, free: 12.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.1215, allocations: 111.8 kB / 0.5012 GB, free: 12.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.1217, allocations: 129.9 kB / 0.5014 GB, free: 12.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1217, allocations: 0 / 0.5014 GB, free: 12.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002743/0.122, allocations: 173.5 kB / 0.5015 GB, free: 12.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.122, allocations: 8 kB / 0.5015 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.122, allocations: 0 / 0.5015 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.122, allocations: 7.938 kB / 0.5015 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.1221, allocations: 35.86 kB / 0.5016 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1221, allocations: 0 / 0.5016 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.1223, allocations: 19.94 kB / 0.5016 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1223, allocations: 8 kB / 0.5016 GB, free: 12.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_TU.y,$PRE.ll_dig_TU.y,ll_dig_FE.y,$PRE.ll_dig_FE.y,ll_dig_BE.y,$PRE.ll_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001144/0.1224, allocations: 138.3 kB / 0.5017 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.1225, allocations: 19.89 kB / 0.5018 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.1225, allocations: 25.34 kB / 0.5018 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1225, allocations: 0 / 0.5018 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1225, allocations: 4 kB / 0.5018 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1225, allocations: 4.031 kB / 0.5018 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.1231, allocations: 433.4 kB / 0.5022 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1231, allocations: 3.938 kB / 0.5022 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.1232, allocations: 27.98 kB / 0.5022 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1232, allocations: 0 / 0.5022 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1232, allocations: 4 kB / 0.5022 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1232, allocations: 0 / 0.5022 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1232, allocations: 0 / 0.5022 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004646/0.1237, allocations: 315.4 kB / 0.5025 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.1237, allocations: 19.84 kB / 0.5026 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.1237, allocations: 8.062 kB / 0.5026 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.1239, allocations: 15.98 kB / 0.5026 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.1239, allocations: 7.984 kB / 0.5026 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1239, allocations: 7.984 kB / 0.5026 GB, free: 11.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1241, allocations: 135.2 kB / 0.5027 GB, free: 11.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1241, allocations: 0 / 0.5027 GB, free: 11.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.1243, allocations: 39.92 kB / 0.5028 GB, free: 10.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008568/0.1252, allocations: 0.8786 MB / 0.5036 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.1255, allocations: 103.9 kB / 0.5037 GB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1255, allocations: 448 / 0.5037 GB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.1256, allocations: 59.91 kB / 0.5038 GB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.1259, allocations: 34.42 kB / 0.5038 GB, free: 9.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.1285, allocations: 2.064 MB / 0.5058 GB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1288, allocations: 0.7125 MB / 0.5065 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.791e-05/0.1289, allocations: 25.47 kB / 0.5065 GB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.129, allocations: 47.42 kB / 0.5066 GB, free: 6.906 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.129, allocations: 0 / 0.5066 GB, free: 6.906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.155, allocations: 3.891 MB / 0.5104 GB, free: 3.176 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.77, allocations: 8.062 kB / 0.5104 GB, free: 3.168 MB / 382.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.431406134041026] Failed to read output from testmodel.py, exit status != 0: 10.925223406986333 11.124253159 11.004425888 Calling exit ...