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.001813/0.001813, allocations: 81.5 kB / 19.44 MB, free: 344 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.001974/0.001974, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.643/1.643, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 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.07594/0.07594, allocations: 8.618 MB / 268.2 MB, free: 4.922 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.392e-06/1.392e-06, allocations: 0 / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.441e-05, allocations: 8.641 kB / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.002078/0.002103, allocations: 1.666 MB / 341.8 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005607/0.002663, allocations: 350.8 kB / 342.1 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.002728, allocations: 3.938 kB / 342.1 MB, free: 6.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.002759, allocations: 11.81 kB / 342.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.002871, allocations: 19.8 kB / 342.2 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.003164, allocations: 123.6 kB / 342.3 MB, free: 6.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.003327, allocations: 159.6 kB / 342.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.003423, allocations: 21.8 kB / 342.5 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.003511, allocations: 91.73 kB / 342.6 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.885e-05/0.00361, allocations: 71.7 kB / 342.6 MB, free: 6.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.00364, allocations: 16 kB / 342.6 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.003742, allocations: 75.92 kB / 342.7 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.003775, allocations: 35.84 kB / 342.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.003819, allocations: 47.83 kB / 342.8 MB, free: 6.062 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.004042, allocations: 223.3 kB / 343 MB, free: 5.844 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.004045, allocations: 0 / 343 MB, free: 5.844 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004046, allocations: 0 / 343 MB, free: 5.844 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.217e-06/0.00405, allocations: 3.938 kB / 343 MB, free: 5.84 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.0005665/0.004616, allocations: 0.5151 MB / 343.5 MB, free: 5.285 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.004644, allocations: 8.031 kB / 343.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.907e-05/0.004713, allocations: 28.8 kB / 343.6 MB, free: 5.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.004895, allocations: 184.8 kB / 343.8 MB, free: 5.043 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.004908, allocations: 12.5 kB / 343.8 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.004939, allocations: 16.38 kB / 343.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.005196, allocations: 287.9 kB / 344.1 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.005209, allocations: 0 / 344.1 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.005225, allocations: 0 / 344.1 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.005231, allocations: 4 kB / 344.1 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.005366, allocations: 67.89 kB / 344.1 MB, free: 4.613 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.005994, allocations: 431.5 kB / 344.6 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.0062, allocations: 134.1 kB / 344.7 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.006303, allocations: 67.66 kB / 344.8 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.006319, allocations: 4 kB / 344.8 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.006528, allocations: 161 kB / 344.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.006529, allocations: 0 / 344.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004347/0.006964, allocations: 259.8 kB / 345.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.007007, allocations: 162.2 kB / 345.3 MB, free: 3.316 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.007153, allocations: 273.8 kB / 345.6 MB, free: 3.031 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.007172, allocations: 33.7 kB / 345.6 MB, free: 2.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.007237, allocations: 175.2 kB / 345.8 MB, free: 2.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.007271, allocations: 63.53 kB / 345.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/0.007339, allocations: 71.36 kB / 345.9 MB, free: 2.676 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.00741, allocations: 0.5118 MB / 346.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.007512, allocations: 44.27 kB / 346.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.007659, allocations: 322.7 kB / 346.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.007882, allocations: 266.3 kB / 347.1 MB, free: 1.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.007885, allocations: 0 / 347.1 MB, free: 1.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002979/0.008183, allocations: 265.2 kB / 347.3 MB, free: 1.117 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.008196, allocations: 11.94 kB / 347.3 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.008203, allocations: 4 kB / 347.3 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.008219, allocations: 4 kB / 347.3 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.008449, allocations: 55.91 kB / 347.4 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.008457, allocations: 7.984 kB / 347.4 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.008562, allocations: 27.81 kB / 347.4 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.008577, allocations: 16.31 kB / 347.4 MB, free: 0.9922 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.0001287/0.008705, allocations: 194.5 kB / 347.6 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.008741, allocations: 31.8 kB / 347.7 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.008783, allocations: 21.8 kB / 347.7 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.008786, allocations: 4 kB / 347.7 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.00879, allocations: 0 / 347.7 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.008794, allocations: 0 / 347.7 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.009206, allocations: 0.5051 MB / 348.2 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.009208, allocations: 7.938 kB / 348.2 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.009357, allocations: 19.98 kB / 348.2 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.00936, allocations: 0 / 348.2 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.009378, allocations: 7.984 kB / 348.2 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.00938, allocations: 0 / 348.2 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.009381, allocations: 7.938 kB / 348.2 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.00999, allocations: 430 kB / 348.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.01003, allocations: 23.83 kB / 348.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.01007, allocations: 8 kB / 348.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.01019, allocations: 11.98 kB / 348.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.01024, allocations: 15.97 kB / 348.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.01028, allocations: 12.03 kB / 348.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003017/0.01058, allocations: 192.1 kB / 348.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01058, allocations: 0 / 348.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003193/0.0109, allocations: 55.94 kB / 349 MB, free: 15.39 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.0002184/0.01112, allocations: 145.2 kB / 349.1 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003823/0.0115, allocations: 168 kB / 349.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01151, allocations: 0 / 349.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.01167, allocations: 79.59 kB / 349.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.012, allocations: 47.22 kB / 349.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007403/0.01274, allocations: 342 kB / 349.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.01287, allocations: 116.8 kB / 349.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.768e-05/0.01295, allocations: 25.88 kB / 349.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.013, allocations: 20.5 kB / 349.9 MB, free: 14.4 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.013, allocations: 4 kB / 349.9 MB, free: 14.4 MB / 282.7 MB Notification: Performance of Templates: time 0.007064/0.02006, allocations: 2.558 MB / 352.5 MB, free: 11.89 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: 4.558818666031584]