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.001172/0.001172, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001439/0.001439, allocations: 211.4 kB / 22.24 MB, free: 4.855 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.369/1.369, allocations: 230.6 MB / 256 MB, free: 7.797 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.0626/0.0626, allocations: 11.34 MB / 323.8 MB, free: 8.035 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",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.002182/0.002182, allocations: 67.89 kB / 451 MB, free: 10.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1117, allocations: 56.08 MB / 0.4951 GB, free: 2.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.003015/0.1147, allocations: 1.614 MB / 0.4967 GB, free: 0.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007199/0.1154, allocations: 295 kB / 0.497 GB, free: 260 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.63e-05/0.1155, allocations: 7.938 kB / 0.497 GB, free: 252 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.1155, allocations: 7.875 kB / 0.497 GB, free: 244 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.1156, allocations: 19.8 kB / 0.497 GB, free: 224 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.116, allocations: 98.64 kB / 0.4971 GB, free: 128 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.1163, allocations: 127.6 kB / 0.4973 GB, free: 16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1164, allocations: 17.95 kB / 0.4973 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.498e-05/0.1165, allocations: 63.77 kB / 0.4973 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.88e-05/0.1166, allocations: 55.62 kB / 0.4974 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.1166, allocations: 12 kB / 0.4974 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.835e-05/0.1167, allocations: 39.97 kB / 0.4974 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.903e-05/0.1167, allocations: 35.78 kB / 0.4975 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.1168, allocations: 47.72 kB / 0.4975 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.117, allocations: 151.3 kB / 0.4977 GB, free: 15.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.117, allocations: 0 / 0.4977 GB, free: 15.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.117, allocations: 0 / 0.4977 GB, free: 15.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1171, allocations: 3.938 kB / 0.4977 GB, free: 15.58 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.0007242/0.1178, allocations: 379.8 kB / 0.498 GB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1178, allocations: 12.03 kB / 0.498 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.699e-05/0.1179, allocations: 38.75 kB / 0.4981 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.118, allocations: 16.84 kB / 0.4981 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.1182, allocations: 170.2 kB / 0.4983 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.1182, allocations: 12.31 kB / 0.4983 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.1183, allocations: 8.375 kB / 0.4983 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.1186, allocations: 236 kB / 0.4985 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1187, allocations: 3.938 kB / 0.4985 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.1187, allocations: 12 kB / 0.4985 GB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1187, allocations: 0 / 0.4985 GB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.1188, allocations: 55.91 kB / 0.4986 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/0.1195, allocations: 359.7 kB / 0.4989 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1198, allocations: 106.5 kB / 0.499 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.1199, allocations: 56.83 kB / 0.4991 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1199, allocations: 0 / 0.4991 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.1202, allocations: 111.4 kB / 0.4992 GB, free: 13.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.1202, allocations: 0 / 0.4992 GB, free: 13.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004725/0.1207, allocations: 209.5 kB / 0.4994 GB, free: 13.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.1208, allocations: 154.2 kB / 0.4995 GB, free: 13.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.121, allocations: 195.2 kB / 0.4997 GB, free: 13.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.121, allocations: 33.7 kB / 0.4997 GB, free: 13.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1211, allocations: 124.1 kB / 0.4999 GB, free: 13.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.1211, allocations: 39.69 kB / 0.4999 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.1212, allocations: 45.7 kB / 0.4999 GB, free: 13.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1214, allocations: 334.8 kB / 0.5003 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.1214, allocations: 35.98 kB / 0.5003 GB, free: 12.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.1216, allocations: 212.2 kB / 0.5005 GB, free: 12.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.1219, allocations: 129.9 kB / 0.5006 GB, free: 12.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.1219, allocations: 3.984 kB / 0.5006 GB, free: 12.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002912/0.1222, allocations: 171 kB / 0.5008 GB, free: 12.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1222, allocations: 7.984 kB / 0.5008 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.1222, allocations: 7.938 kB / 0.5008 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1222, allocations: 3.938 kB / 0.5008 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1223, allocations: 31.92 kB / 0.5008 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1224, allocations: 8.188 kB / 0.5008 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.1225, allocations: 15.98 kB / 0.5009 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1225, allocations: 7.938 kB / 0.5009 GB, free: 11.96 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.0001209/0.1226, allocations: 133.7 kB / 0.501 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.1227, allocations: 19.86 kB / 0.501 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.1227, allocations: 17.47 kB / 0.501 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1227, allocations: 7.922 kB / 0.501 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1227, allocations: 0 / 0.501 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1227, allocations: 4.031 kB / 0.501 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.1232, allocations: 432 kB / 0.5014 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1232, allocations: 0 / 0.5014 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.1234, allocations: 19.94 kB / 0.5015 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1234, allocations: 0 / 0.5015 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.1234, allocations: 7.984 kB / 0.5015 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1234, allocations: 0 / 0.5015 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1234, allocations: 0 / 0.5015 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.1238, allocations: 311.4 kB / 0.5018 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.1239, allocations: 19.94 kB / 0.5018 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.1239, allocations: 11.94 kB / 0.5018 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.1241, allocations: 7.984 kB / 0.5018 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.1241, allocations: 11.98 kB / 0.5018 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.1241, allocations: 4 kB / 0.5018 GB, free: 10.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1242, allocations: 135.2 kB / 0.502 GB, free: 10.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1242, allocations: 0 / 0.502 GB, free: 10.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1245, allocations: 39.89 kB / 0.502 GB, free: 10.73 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.0008117/0.1253, allocations: 0.8762 MB / 0.5028 GB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.1256, allocations: 107.1 kB / 0.503 GB, free: 9.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1256, allocations: 0 / 0.503 GB, free: 9.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.1257, allocations: 55.92 kB / 0.503 GB, free: 9.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.126, allocations: 36.31 kB / 0.503 GB, free: 9.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.1286, allocations: 2.068 MB / 0.5051 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.1287, allocations: 102.2 kB / 0.5052 GB, free: 7.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.207e-05/0.1288, allocations: 21.48 kB / 0.5052 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.1288, allocations: 39.42 kB / 0.5052 GB, free: 7.273 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1288, allocations: 0 / 0.5052 GB, free: 7.273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.1615, allocations: 4.376 MB / 0.5095 GB, free: 3.051 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.72, allocations: 11.59 kB / 0.5095 GB, free: 3.047 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.358925500884652] Failed to read output from testmodel.py, exit status != 0: 10.829371195286512 11.025570972 10.90605439 Calling exit ...