Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.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.001394/0.001394, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001533/0.001533, allocations: 213.8 kB / 22.99 MB, free: 4.945 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.06674/0.06674, allocations: 11.34 MB / 324.5 MB, free: 8.125 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: translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") [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.002143/0.002143, allocations: 71.89 kB / 452.2 MB, free: 9.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1153, allocations: 56.07 MB / 0.4964 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.002958/0.1183, allocations: 1.649 MB / 0.498 GB, free: 8 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007601/0.119, allocations: 339 kB / 0.4983 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.1191, allocations: 3.938 kB / 0.4983 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.851e-05/0.1191, allocations: 15.64 kB / 0.4983 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.1193, allocations: 23.8 kB / 0.4983 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.1196, allocations: 119.7 kB / 0.4985 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.1198, allocations: 163.6 kB / 0.4986 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.12, allocations: 13.81 kB / 0.4986 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.108e-05/0.12, allocations: 71.64 kB / 0.4987 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1202, allocations: 71.55 kB / 0.4988 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.1202, allocations: 16 kB / 0.4988 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.1203, allocations: 79.92 kB / 0.4989 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.1204, allocations: 39.84 kB / 0.4989 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.879e-05/0.1205, allocations: 63.58 kB / 0.499 GB, free: 15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.1207, allocations: 199.2 kB / 0.4991 GB, free: 14.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1207, allocations: 4 kB / 0.4991 GB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.169e-05/0.1207, allocations: 7.984 kB / 0.4992 GB, free: 14.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1207, allocations: 0 / 0.4992 GB, free: 14.8 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007321/0.1215, allocations: 409.4 kB / 0.4995 GB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1215, allocations: 8.031 kB / 0.4996 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.1216, allocations: 24.8 kB / 0.4996 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1218, allocations: 178.2 kB / 0.4997 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1219, allocations: 8.562 kB / 0.4998 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.1219, allocations: 20.36 kB / 0.4998 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.1223, allocations: 278.8 kB / 0.5 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1223, allocations: 4 kB / 0.5 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.1223, allocations: 7.984 kB / 0.5 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1223, allocations: 0 / 0.5 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.1225, allocations: 59.97 kB / 0.5001 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007605/0.1233, allocations: 372.2 kB / 0.5005 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.1235, allocations: 126.8 kB / 0.5006 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1237, allocations: 72.77 kB / 0.5007 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.1237, allocations: 3.984 kB / 0.5007 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002988/0.124, allocations: 141.3 kB / 0.5008 GB, free: 12.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.124, allocations: 0 / 0.5008 GB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005668/0.1245, allocations: 263.5 kB / 0.501 GB, free: 12.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.1247, allocations: 170.1 kB / 0.5012 GB, free: 12.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.1249, allocations: 203.1 kB / 0.5014 GB, free: 12.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.1249, allocations: 37.7 kB / 0.5014 GB, free: 12.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.125, allocations: 124.4 kB / 0.5016 GB, free: 12.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/0.1251, allocations: 59.58 kB / 0.5016 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.93e-05/0.1252, allocations: 53.69 kB / 0.5017 GB, free: 12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1253, allocations: 330.8 kB / 0.502 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.1254, allocations: 48.25 kB / 0.502 GB, free: 11.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.1257, allocations: 270.8 kB / 0.5023 GB, free: 11.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.1261, allocations: 234.8 kB / 0.5025 GB, free: 11.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1261, allocations: 0 / 0.5025 GB, free: 11.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004149/0.1265, allocations: 254 kB / 0.5027 GB, free: 10.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1265, allocations: 8.375 kB / 0.5028 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1265, allocations: 8 kB / 0.5028 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1266, allocations: 4 kB / 0.5028 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.1268, allocations: 47.92 kB / 0.5028 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.1268, allocations: 7.984 kB / 0.5028 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.1269, allocations: 23.84 kB / 0.5028 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1269, allocations: 12 kB / 0.5029 GB, free: 10.65 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: cplxP_dig_TU.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_FE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_BE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cplxP_dig_TU.u_pre1,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_FE.u_pre1,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_BE.u_pre1,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,$PRE.cplxP_dig_BE.y_pre1,$whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_TU.y,$PRE.cplxP_dig_TU.y,cplxP_dig_FE.y,$PRE.cplxP_dig_FE.y,cplxP_dig_BE.y,$PRE.cplxP_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001939/0.1271, allocations: 163.3 kB / 0.503 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.1271, allocations: 19.91 kB / 0.503 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.1272, allocations: 21.81 kB / 0.503 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1272, allocations: 0 / 0.503 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1272, allocations: 4 kB / 0.5031 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.1272, allocations: 3.984 kB / 0.5031 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006217/0.1278, allocations: 457.9 kB / 0.5035 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1278, allocations: 0 / 0.5035 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.128, allocations: 27.92 kB / 0.5035 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.128, allocations: 0 / 0.5035 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.128, allocations: 8 kB / 0.5035 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.128, allocations: 8 kB / 0.5035 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.128, allocations: 3.984 kB / 0.5035 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/0.1286, allocations: 381.4 kB / 0.5039 GB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.1287, allocations: 11.94 kB / 0.5039 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.1287, allocations: 12 kB / 0.5039 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.1288, allocations: 7.984 kB / 0.5039 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.1289, allocations: 19.92 kB / 0.504 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1289, allocations: 7.984 kB / 0.504 GB, free: 9.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.129, allocations: 140.5 kB / 0.5041 GB, free: 9.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.129, allocations: 4.062 kB / 0.5041 GB, free: 9.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000323/0.1294, allocations: 55.94 kB / 0.5042 GB, free: 9.258 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (cplxP.y,cplxP.dy) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_BE.y,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,cplxP_dig_FE.y,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,cplxP_dig_TU.y,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1) * Number of discrete states: 12 (cplxP_dig_TU.u,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y,cplxP_dig_TU.y_pre1,cplxP_dig_FE.u,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y,cplxP_dig_FE.y_pre1,cplxP_dig_BE.u,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y,cplxP_dig_BE.y_pre1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001996/0.1296, allocations: 151 kB / 0.5043 GB, free: 9.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.1299, allocations: 154.4 kB / 0.5044 GB, free: 8.953 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.1299, allocations: 4.75 kB / 0.5044 GB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.13, allocations: 63.97 kB / 0.5045 GB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1304, allocations: 33.27 kB / 0.5045 GB, free: 8.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/0.1311, allocations: 384.6 kB / 0.5049 GB, free: 8.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.1312, allocations: 112.3 kB / 0.505 GB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.1312, allocations: 23.44 kB / 0.505 GB, free: 8.301 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1312, allocations: 4 kB / 0.505 GB, free: 8.297 MB / 382.1 MB Notification: Performance of Templates: time 0.004864/0.1361, allocations: 2.559 MB / 0.5075 GB, free: 5.738 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.140465117990971] Failed to read output from testmodel.py, exit status != 0: 0.1444832207635045 0.329223052 0.20585533800000003 Calling exit ...