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.0009529/0.0009529, allocations: 93.06 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.0009834/0.0009834, allocations: 165 kB / 23.02 MB, free: 1.547 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 0.9988/0.9988, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.03722/0.03722, allocations: 8.607 MB / 268.5 MB, free: 4.934 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.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 3.984 kB / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.601e-05, allocations: 2.312 kB / 340.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.001675/0.001691, allocations: 1.654 MB / 342.5 MB, free: 6.734 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004639/0.002155, allocations: 310.8 kB / 342.8 MB, free: 6.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.002207, allocations: 0 / 342.8 MB, free: 6.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.002239, allocations: 7.875 kB / 342.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.002346, allocations: 23.73 kB / 342.9 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.002655, allocations: 99.7 kB / 342.9 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.002802, allocations: 131.6 kB / 343.1 MB, free: 6.172 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.002904, allocations: 17.8 kB / 343.1 MB, free: 6.156 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.193e-05/0.002966, allocations: 79.73 kB / 343.2 MB, free: 6.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.003036, allocations: 43.81 kB / 343.2 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.003057, allocations: 12 kB / 343.2 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.516e-05/0.003123, allocations: 39.97 kB / 343.3 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.003148, allocations: 35.83 kB / 343.3 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.003184, allocations: 35.86 kB / 343.3 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.003341, allocations: 127.5 kB / 343.5 MB, free: 5.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003342, allocations: 0 / 343.5 MB, free: 5.789 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003343, allocations: 0 / 343.5 MB, free: 5.789 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.003347, allocations: 0 / 343.5 MB, free: 5.789 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004414/0.003788, allocations: 483.7 kB / 343.9 MB, free: 5.277 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.003822, allocations: 12.03 kB / 343.9 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.003877, allocations: 24.84 kB / 344 MB, free: 5.242 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.004014, allocations: 160.4 kB / 344.1 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.004024, allocations: 4.375 kB / 344.1 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.00405, allocations: 16.38 kB / 344.1 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.004234, allocations: 259.2 kB / 344.4 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.00424, allocations: 192 / 344.4 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.004254, allocations: 8.375 kB / 344.4 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.004261, allocations: 384 / 344.4 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.296e-05/0.004314, allocations: 23.92 kB / 344.4 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.004719, allocations: 383.5 kB / 344.8 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.004846, allocations: 83.12 kB / 344.9 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.0049, allocations: 47.67 kB / 344.9 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.004911, allocations: 3.938 kB / 344.9 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.005021, allocations: 104.8 kB / 345 MB, free: 4.027 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.005023, allocations: 0 / 345 MB, free: 4.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002685/0.005291, allocations: 153.6 kB / 345.2 MB, free: 3.871 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.005342, allocations: 162.2 kB / 345.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.005449, allocations: 239.2 kB / 345.6 MB, free: 3.426 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.005464, allocations: 37.62 kB / 345.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.005518, allocations: 166.8 kB / 345.8 MB, free: 3.215 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.005538, allocations: 43.81 kB / 345.8 MB, free: 3.172 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.005579, allocations: 51.33 kB / 345.9 MB, free: 3.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.005634, allocations: 0.5001 MB / 346.4 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-05/0.005665, allocations: 19.98 kB / 346.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.887e-05/0.005744, allocations: 228.2 kB / 346.6 MB, free: 2.289 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.011e-05/0.005834, allocations: 125.6 kB / 346.7 MB, free: 2.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005837, allocations: 0 / 346.7 MB, free: 2.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001379/0.005975, allocations: 145.1 kB / 346.9 MB, free: 1.992 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.005988, allocations: 8 kB / 346.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.005993, allocations: 0 / 346.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.006009, allocations: 4 kB / 346.9 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.006113, allocations: 35.92 kB / 346.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.00612, allocations: 4 kB / 346.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.264e-05/0.006183, allocations: 19.89 kB / 347 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.00619, allocations: 8.188 kB / 347 MB, free: 1.914 MB / 266.7 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 6.35e-05/0.006254, allocations: 172.5 kB / 347.1 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.006274, allocations: 27.89 kB / 347.2 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.006305, allocations: 17.47 kB / 347.2 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006307, allocations: 0 / 347.2 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.006311, allocations: 0 / 347.2 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006314, allocations: 0 / 347.2 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.006549, allocations: 421.2 kB / 347.6 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.006551, allocations: 4 kB / 347.6 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.00661, allocations: 19.98 kB / 347.6 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.006612, allocations: 0 / 347.6 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.006625, allocations: 4 kB / 347.6 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.006626, allocations: 0 / 347.6 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006627, allocations: 0 / 347.6 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.006823, allocations: 311.4 kB / 347.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.006837, allocations: 19.84 kB / 347.9 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.006855, allocations: 4 kB / 347.9 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.524e-05/0.00691, allocations: 11.98 kB / 347.9 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.006947, allocations: 7.984 kB / 348 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.006956, allocations: 7.969 kB / 348 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.093e-05/0.007007, allocations: 179.1 kB / 348.1 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007007, allocations: 0 / 348.1 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001821/0.007189, allocations: 35.94 kB / 348.2 MB, free: 0.6289 MB / 266.7 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 9.574e-05/0.007285, allocations: 115.2 kB / 348.3 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.007419, allocations: 95.52 kB / 348.4 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.007421, allocations: 0 / 348.4 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.876e-05/0.007469, allocations: 40.05 kB / 348.4 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.007676, allocations: 48.55 kB / 348.5 MB, free: 328 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.008206, allocations: 306.5 kB / 348.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.219e-05/0.008258, allocations: 71.98 kB / 348.8 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.805e-05/0.008306, allocations: 21.48 kB / 348.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.008345, allocations: 20.5 kB / 348.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of SimCode: time 1.103e-06/0.008346, allocations: 0 / 348.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of Templates: time 0.003772/0.01212, allocations: 2.015 MB / 350.9 MB, free: 13.87 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.makefile [Timeout 660] (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 & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.822594238910824]