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.001015/0.001015, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001196/0.001196, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.03696/0.03696, allocations: 8.604 MB / 268.5 MB, free: 4.91 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.696e-05, allocations: 8.641 kB / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.001521/0.001538, allocations: 1.689 MB / 342.6 MB, free: 6.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005382/0.002076, allocations: 350.8 kB / 342.9 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.002134, allocations: 3.938 kB / 342.9 MB, free: 6.348 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.002168, allocations: 11.81 kB / 342.9 MB, free: 6.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.55e-05/0.002264, allocations: 23.8 kB / 342.9 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.002578, allocations: 127.6 kB / 343.1 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.002719, allocations: 155.5 kB / 343.2 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.002812, allocations: 21.78 kB / 343.2 MB, free: 6.016 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.366e-05/0.002875, allocations: 95.73 kB / 343.3 MB, free: 5.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.002945, allocations: 55.78 kB / 343.4 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.002967, allocations: 16 kB / 343.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.222e-05/0.003059, allocations: 79.92 kB / 343.5 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.003085, allocations: 39.83 kB / 343.5 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.003122, allocations: 55.75 kB / 343.6 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.003288, allocations: 187.3 kB / 343.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00329, allocations: 4 kB / 343.8 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00329, allocations: 0 / 343.8 MB, free: 5.492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.003294, allocations: 0 / 343.8 MB, free: 5.492 MB / 266.7 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.0004329/0.003727, allocations: 0.4959 MB / 344.2 MB, free: 4.957 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.003761, allocations: 8.031 kB / 344.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.003818, allocations: 32.8 kB / 344.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.003966, allocations: 184.8 kB / 344.5 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.003978, allocations: 8.562 kB / 344.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.004009, allocations: 16.36 kB / 344.5 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.004202, allocations: 283.4 kB / 344.8 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.004212, allocations: 0 / 344.8 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.004227, allocations: 7.984 kB / 344.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.004235, allocations: 4 kB / 344.8 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.121e-05/0.004296, allocations: 31.91 kB / 344.8 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.004728, allocations: 419.5 kB / 345.2 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.004853, allocations: 99.11 kB / 345.3 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.004908, allocations: 51.66 kB / 345.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.004915, allocations: 4 kB / 345.4 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.005041, allocations: 129.1 kB / 345.5 MB, free: 3.562 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.005043, allocations: 3.984 kB / 345.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002715/0.005315, allocations: 208 kB / 345.7 MB, free: 3.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.005352, allocations: 170.2 kB / 345.9 MB, free: 3.148 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.005452, allocations: 245.9 kB / 346.1 MB, free: 2.891 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.005465, allocations: 33.7 kB / 346.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.005515, allocations: 179.2 kB / 346.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.005539, allocations: 55.59 kB / 346.4 MB, free: 2.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.005583, allocations: 55.36 kB / 346.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.005627, allocations: 0.5078 MB / 346.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/0.005665, allocations: 28.27 kB / 347 MB, free: 2.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.005753, allocations: 300.1 kB / 347.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.005892, allocations: 219.1 kB / 347.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.005895, allocations: 4 kB / 347.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001929/0.006088, allocations: 217.1 kB / 347.7 MB, free: 1.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.006101, allocations: 11.94 kB / 347.7 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.006106, allocations: 0 / 347.7 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.006122, allocations: 4 kB / 347.7 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.006264, allocations: 63.91 kB / 347.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.00627, allocations: 4 kB / 347.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.00633, allocations: 20.27 kB / 347.8 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.006339, allocations: 16 kB / 347.8 MB, free: 1.012 MB / 266.7 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.0001025/0.006441, allocations: 190.4 kB / 348 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.006464, allocations: 35.8 kB / 348 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.006495, allocations: 21.8 kB / 348 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.006498, allocations: 4 kB / 348.1 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.006502, allocations: 3.938 kB / 348.1 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.006505, allocations: 0 / 348.1 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.006766, allocations: 469.3 kB / 348.5 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.006767, allocations: 3.938 kB / 348.5 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-05/0.006847, allocations: 19.98 kB / 348.5 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.006848, allocations: 0 / 348.5 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.006867, allocations: 15.92 kB / 348.6 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.006868, allocations: 0 / 348.6 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.006869, allocations: 0 / 348.6 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.007149, allocations: 374 kB / 348.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.00717, allocations: 23.78 kB / 348.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.007196, allocations: 8 kB / 348.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.574e-05/0.007251, allocations: 11.98 kB / 349 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.007288, allocations: 16.02 kB / 349 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.007301, allocations: 15.98 kB / 349 MB, free: 15.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.331e-05/0.007374, allocations: 180.1 kB / 349.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007374, allocations: 0 / 349.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.007583, allocations: 51.94 kB / 349.2 MB, free: 15.52 MB / 282.7 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.0001356/0.007718, allocations: 145.2 kB / 349.4 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.007915, allocations: 124.1 kB / 349.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.007917, allocations: 4 kB / 349.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.793e-05/0.007985, allocations: 55.59 kB / 349.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.0082, allocations: 43.89 kB / 349.6 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/0.008643, allocations: 336.7 kB / 349.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.066e-05/0.008683, allocations: 72.34 kB / 350 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.874e-05/0.008732, allocations: 26.12 kB / 350 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.008764, allocations: 24.5 kB / 350 MB, free: 14.65 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.008765, allocations: 0 / 350 MB, free: 14.65 MB / 282.7 MB Notification: Performance of Templates: time 0.004148/0.01291, allocations: 2.553 MB / 352.6 MB, free: 12.14 MB / 282.7 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8599407700821757]