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.001277/0.001277, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001366/0.001366, allocations: 213.8 kB / 23.03 MB, free: 4.426 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.349/1.349, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.06159/0.06159, allocations: 11.34 MB / 324.6 MB, free: 8.027 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.001912/0.001912, allocations: 67.89 kB / 451.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1087, allocations: 56.07 MB / 0.4959 GB, free: 2.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002779/0.1115, allocations: 1.622 MB / 0.4975 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006039/0.1121, allocations: 287 kB / 0.4978 GB, free: 252 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.1121, allocations: 0 / 0.4978 GB, free: 252 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.1122, allocations: 7.875 kB / 0.4978 GB, free: 244 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.1123, allocations: 27.8 kB / 0.4978 GB, free: 216 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1126, allocations: 95.72 kB / 0.4979 GB, free: 120 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.1128, allocations: 127.7 kB / 0.498 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.113, allocations: 21.95 kB / 0.498 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.367e-05/0.113, allocations: 51.67 kB / 0.4981 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.1131, allocations: 71.67 kB / 0.4981 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.1132, allocations: 12 kB / 0.4982 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.171e-05/0.1132, allocations: 39.97 kB / 0.4982 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.1133, allocations: 31.86 kB / 0.4982 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.953e-05/0.1133, allocations: 51.7 kB / 0.4983 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.1136, allocations: 151.2 kB / 0.4984 GB, free: 15.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1136, allocations: 3.938 kB / 0.4984 GB, free: 15.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1136, allocations: 0 / 0.4984 GB, free: 15.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1136, allocations: 0 / 0.4984 GB, free: 15.56 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.0006381/0.1142, allocations: 376 kB / 0.4988 GB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1143, allocations: 12.03 kB / 0.4988 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.32e-05/0.1143, allocations: 192 / 0.4988 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.1143, allocations: 46.73 kB / 0.4988 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.1144, allocations: 16.84 kB / 0.4989 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.1146, allocations: 178.2 kB / 0.499 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1146, allocations: 4.375 kB / 0.499 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.1147, allocations: 12.38 kB / 0.499 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.115, allocations: 243.5 kB / 0.4993 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.115, allocations: 0 / 0.4993 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.115, allocations: 4 kB / 0.4993 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.115, allocations: 4 kB / 0.4993 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1152, allocations: 47.97 kB / 0.4993 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.1158, allocations: 359.7 kB / 0.4997 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.116, allocations: 110.6 kB / 0.4998 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.1161, allocations: 52.84 kB / 0.4998 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.1161, allocations: 0 / 0.4998 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.1164, allocations: 118.6 kB / 0.4999 GB, free: 13.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.1164, allocations: 3.938 kB / 0.4999 GB, free: 13.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004428/0.1168, allocations: 205.5 kB / 0.5001 GB, free: 13.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/0.1169, allocations: 158.2 kB / 0.5003 GB, free: 13.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.1171, allocations: 199.1 kB / 0.5005 GB, free: 13.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.1171, allocations: 29.7 kB / 0.5005 GB, free: 13.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/0.1172, allocations: 124.1 kB / 0.5006 GB, free: 13.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.1172, allocations: 39.64 kB / 0.5007 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.154e-05/0.1173, allocations: 41.7 kB / 0.5007 GB, free: 12.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1174, allocations: 330.8 kB / 0.501 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.1175, allocations: 35.98 kB / 0.5011 GB, free: 12.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.1177, allocations: 228.1 kB / 0.5013 GB, free: 12.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.1179, allocations: 125.9 kB / 0.5014 GB, free: 12.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1179, allocations: 0 / 0.5014 GB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002693/0.1182, allocations: 172.2 kB / 0.5016 GB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1182, allocations: 8 kB / 0.5016 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1182, allocations: 0 / 0.5016 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1182, allocations: 15.81 kB / 0.5016 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.1184, allocations: 27.98 kB / 0.5016 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1184, allocations: 0 / 0.5016 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.1185, allocations: 19.94 kB / 0.5016 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1185, allocations: 8 kB / 0.5016 GB, free: 11.95 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.000126/0.1187, allocations: 134.4 kB / 0.5018 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.1187, allocations: 15.91 kB / 0.5018 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.1188, allocations: 33.42 kB / 0.5018 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1188, allocations: 4 kB / 0.5018 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1188, allocations: 0 / 0.5018 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1188, allocations: 0 / 0.5018 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.1193, allocations: 417.5 kB / 0.5022 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.1193, allocations: 11.88 kB / 0.5022 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.1194, allocations: 19.98 kB / 0.5022 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1194, allocations: 4 kB / 0.5022 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1194, allocations: 0 / 0.5022 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1194, allocations: 0 / 0.5022 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1194, allocations: 0 / 0.5022 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/0.1199, allocations: 315.3 kB / 0.5025 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.1199, allocations: 15.88 kB / 0.5026 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.1199, allocations: 11.98 kB / 0.5026 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.1201, allocations: 7.984 kB / 0.5026 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.1201, allocations: 16.05 kB / 0.5026 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1201, allocations: 4 kB / 0.5026 GB, free: 10.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1203, allocations: 139.2 kB / 0.5027 GB, free: 10.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1203, allocations: 0 / 0.5027 GB, free: 10.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1205, allocations: 35.94 kB / 0.5028 GB, free: 10.71 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.0007912/0.1213, allocations: 0.8751 MB / 0.5036 GB, free: 9.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.1216, allocations: 104.2 kB / 0.5037 GB, free: 9.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.1216, allocations: 3.984 kB / 0.5037 GB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.1217, allocations: 55.92 kB / 0.5038 GB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.122, allocations: 29.48 kB / 0.5038 GB, free: 9.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.1244, allocations: 2.074 MB / 0.5058 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.172e-05/0.1245, allocations: 106.2 kB / 0.5059 GB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.613e-05/0.1246, allocations: 17.48 kB / 0.5059 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.302e-05/0.1247, allocations: 47.42 kB / 0.506 GB, free: 7.242 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1247, allocations: 0 / 0.506 GB, free: 7.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.1515, allocations: 4.013 MB / 0.5099 GB, free: 3.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.7, allocations: 14.97 kB / 0.5099 GB, free: 3.398 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.347146412008442] Failed to read output from testmodel.py, exit status != 0: 10.85990603605751 11.045163743 10.929192603 Calling exit ...