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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 225.6 MB / 249.4 MB, free: 3.004 MB / 190.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.05976/0.05976, allocations: 11.32 MB / 315.8 MB, free: 460 kB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.89 kB / 440.6 MB, free: 5.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2812, allocations: 54.82 MB / 495.4 MB, free: 24.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.002865/0.284, allocations: 1.69 MB / 497.1 MB, free: 23.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007537/0.2848, allocations: 374.8 kB / 497.5 MB, free: 23.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.58e-05/0.2849, allocations: 5.938 kB / 497.5 MB, free: 23.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.994e-05/0.2849, allocations: 16.69 kB / 497.5 MB, free: 23.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.285, allocations: 23.98 kB / 497.5 MB, free: 23.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.2854, allocations: 116.4 kB / 497.6 MB, free: 22.99 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.2857, allocations: 160.9 kB / 497.8 MB, free: 22.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2858, allocations: 20.62 kB / 497.8 MB, free: 22.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.2859, allocations: 65.7 kB / 497.9 MB, free: 22.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.286, allocations: 84.83 kB / 498 MB, free: 22.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.286, allocations: 14.69 kB / 498 MB, free: 22.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.2861, allocations: 80.7 kB / 498.1 MB, free: 22.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.2862, allocations: 46.39 kB / 498.1 MB, free: 22.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.2862, allocations: 81.17 kB / 498.2 MB, free: 22.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.2865, allocations: 197.4 kB / 498.4 MB, free: 22.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2865, allocations: 0 / 498.4 MB, free: 22.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2865, allocations: 0 / 498.4 MB, free: 22.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2865, allocations: 1.094 kB / 498.4 MB, free: 22.57 MB / 366.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.0006636/0.2872, allocations: 497.8 kB / 498.9 MB, free: 22.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2872, allocations: 9.156 kB / 498.9 MB, free: 22.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.2873, allocations: 24.03 kB / 498.9 MB, free: 22.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.2875, allocations: 236.4 kB / 499.1 MB, free: 21.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.2875, allocations: 10.33 kB / 499.1 MB, free: 21.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.2875, allocations: 11.97 kB / 499.2 MB, free: 21.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.2878, allocations: 178.2 kB / 499.3 MB, free: 21.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.2878, allocations: 0 / 499.3 MB, free: 21.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.2878, allocations: 6.375 kB / 499.3 MB, free: 21.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.2878, allocations: 2.281 kB / 499.3 MB, free: 21.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.288, allocations: 62.36 kB / 499.4 MB, free: 21.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006781/0.2887, allocations: 456.6 kB / 499.8 MB, free: 21.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.2889, allocations: 127.8 kB / 500 MB, free: 21.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.289, allocations: 72.36 kB / 0.4883 GB, free: 21.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.289, allocations: 0 / 0.4883 GB, free: 21.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.2893, allocations: 149.5 kB / 0.4885 GB, free: 21.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.2893, allocations: 0 / 0.4885 GB, free: 21.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004933/0.2898, allocations: 259.4 kB / 0.4887 GB, free: 20.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.2899, allocations: 171.5 kB / 0.4889 GB, free: 20.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.29, allocations: 208.2 kB / 0.4891 GB, free: 20.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.29, allocations: 35.17 kB / 0.4891 GB, free: 20.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.2901, allocations: 122.9 kB / 0.4892 GB, free: 20.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.2901, allocations: 59.86 kB / 0.4893 GB, free: 20.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.2902, allocations: 58.72 kB / 0.4893 GB, free: 20.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.2903, allocations: 336.4 kB / 0.4897 GB, free: 19.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.51e-05/0.2904, allocations: 46.84 kB / 0.4897 GB, free: 19.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.2905, allocations: 171.2 kB / 0.4899 GB, free: 19.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.2908, allocations: 228.3 kB / 0.4901 GB, free: 19.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2908, allocations: 1.562 kB / 0.4901 GB, free: 19.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000356/0.2911, allocations: 245 kB / 0.4903 GB, free: 19.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2911, allocations: 10.62 kB / 0.4903 GB, free: 19.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2912, allocations: 3.406 kB / 0.4903 GB, free: 19.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.2912, allocations: 4.375 kB / 0.4903 GB, free: 19.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.2914, allocations: 51.81 kB / 0.4904 GB, free: 19.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2914, allocations: 4 kB / 0.4904 GB, free: 19.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2915, allocations: 28.81 kB / 0.4904 GB, free: 19.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.2915, allocations: 14.09 kB / 0.4904 GB, free: 19.39 MB / 366.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.0001496/0.2917, allocations: 150.7 kB / 0.4906 GB, free: 19.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.2917, allocations: 29.78 kB / 0.4906 GB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.2917, allocations: 17.78 kB / 0.4906 GB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2917, allocations: 2.531 kB / 0.4906 GB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2917, allocations: 0 / 0.4906 GB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2918, allocations: 1.469 kB / 0.4906 GB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.2923, allocations: 0.5296 MB / 0.4911 GB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2923, allocations: 4 kB / 0.4911 GB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.2924, allocations: 29.64 kB / 0.4912 GB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2924, allocations: 1.156 kB / 0.4912 GB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.2924, allocations: 3.188 kB / 0.4912 GB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2924, allocations: 2.25 kB / 0.4912 GB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2924, allocations: 0 / 0.4912 GB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.2929, allocations: 380.3 kB / 0.4915 GB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.293, allocations: 102 kB / 0.4916 GB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.293, allocations: 8.562 kB / 0.4916 GB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2931, allocations: 12.92 kB / 0.4917 GB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.2932, allocations: 13.91 kB / 0.4917 GB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.2932, allocations: 13.66 kB / 0.4917 GB, free: 18.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.431e-05/0.2933, allocations: 140.1 kB / 0.4918 GB, free: 18.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2933, allocations: 3.938 kB / 0.4918 GB, free: 18.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.2936, allocations: 58.05 kB / 0.4919 GB, free: 18.24 MB / 366.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.0001815/0.2938, allocations: 136.9 kB / 0.492 GB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003454/0.2941, allocations: 146.9 kB / 0.4921 GB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2941, allocations: 1.031 kB / 0.4922 GB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.2943, allocations: 76.33 kB / 0.4922 GB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.2946, allocations: 44.78 kB / 0.4923 GB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.2953, allocations: 350.9 kB / 0.4926 GB, free: 17.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.2955, allocations: 0.7263 MB / 0.4933 GB, free: 17.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.28e-05/0.2956, allocations: 23.02 kB / 0.4933 GB, free: 17.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.2956, allocations: 19.78 kB / 0.4934 GB, free: 17.03 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2956, allocations: 0 / 0.4934 GB, free: 17.03 MB / 366.1 MB Notification: Performance of Templates: time 0.005937/0.3015, allocations: 2.466 MB / 0.4958 GB, free: 15.8 MB / 366.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: 4.591792457737029]