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.0009528/0.0009528, allocations: 73.88 kB / 20.65 MB, free: 3.84 MB / 18.57 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.001429/0.001429, allocations: 169 kB / 24.06 MB, free: 448 kB / 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 / 204.5 MB, free: 5.473 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.04354/0.04354, allocations: 8.619 MB / 269.7 MB, free: 4.727 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 1.493e-06/1.493e-06, allocations: 0 / 342.1 MB, free: 9.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.48e-05, allocations: 2.312 kB / 342.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002325/0.00235, allocations: 1.653 MB / 343.7 MB, free: 7.516 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007128/0.003063, allocations: 298.9 kB / 344 MB, free: 7.223 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.949e-05/0.003132, allocations: 4 kB / 344 MB, free: 7.219 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.644e-05/0.003169, allocations: 15.8 kB / 344 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.00328, allocations: 19.75 kB / 344.1 MB, free: 7.184 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.003632, allocations: 95.7 kB / 344.2 MB, free: 7.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.003803, allocations: 131.7 kB / 344.3 MB, free: 6.961 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.003904, allocations: 13.81 kB / 344.3 MB, free: 6.949 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.045e-05/0.003984, allocations: 83.67 kB / 344.4 MB, free: 6.867 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.004057, allocations: 43.81 kB / 344.4 MB, free: 6.824 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.004079, allocations: 12 kB / 344.4 MB, free: 6.812 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-05/0.004155, allocations: 35.97 kB / 344.5 MB, free: 6.777 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.004188, allocations: 39.83 kB / 344.5 MB, free: 6.738 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.004225, allocations: 31.86 kB / 344.5 MB, free: 6.707 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.004381, allocations: 127.6 kB / 344.7 MB, free: 6.582 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004383, allocations: 0 / 344.7 MB, free: 6.582 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004384, allocations: 3.938 kB / 344.7 MB, free: 6.578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004389, allocations: 4 kB / 344.7 MB, free: 6.574 MB / 314.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.0004589/0.004848, allocations: 479.8 kB / 345.1 MB, free: 6.066 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.004879, allocations: 8.031 kB / 345.2 MB, free: 6.059 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.004922, allocations: 24.8 kB / 345.2 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.005068, allocations: 160.4 kB / 345.3 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.005079, allocations: 4.375 kB / 345.3 MB, free: 5.848 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.005104, allocations: 16.31 kB / 345.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.005298, allocations: 248.1 kB / 345.6 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.005306, allocations: 4.188 kB / 345.6 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.005315, allocations: 384 / 345.6 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.005323, allocations: 4.375 kB / 345.6 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.784e-05/0.00536, allocations: 23.92 kB / 345.6 MB, free: 5.504 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.005742, allocations: 352.1 kB / 346 MB, free: 5.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.005847, allocations: 82.98 kB / 346.1 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.005885, allocations: 39.61 kB / 346.1 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.005893, allocations: 4 kB / 346.1 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.006004, allocations: 104.9 kB / 346.2 MB, free: 4.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.006005, allocations: 0 / 346.2 MB, free: 4.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002126/0.006218, allocations: 153.1 kB / 346.3 MB, free: 4.723 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.006278, allocations: 158.2 kB / 346.5 MB, free: 4.531 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.00639, allocations: 239.7 kB / 346.7 MB, free: 4.281 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.006405, allocations: 33.7 kB / 346.8 MB, free: 4.242 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.006478, allocations: 166.8 kB / 346.9 MB, free: 4.074 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.006502, allocations: 43.77 kB / 347 MB, free: 4.031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.006548, allocations: 43.36 kB / 347 MB, free: 3.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003819/0.00693, allocations: 0.504 MB / 347.5 MB, free: 3.465 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.006952, allocations: 19.98 kB / 347.5 MB, free: 3.445 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.007054, allocations: 227.3 kB / 347.8 MB, free: 3.152 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.361e-05/0.007137, allocations: 116.7 kB / 347.9 MB, free: 3.012 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.007141, allocations: 4 kB / 347.9 MB, free: 3.008 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001301/0.007271, allocations: 133.5 kB / 348 MB, free: 2.871 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.007285, allocations: 7.984 kB / 348 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.00729, allocations: 4 kB / 348 MB, free: 2.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.0073, allocations: 0 / 348 MB, free: 2.859 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.007394, allocations: 39.86 kB / 348.1 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.007398, allocations: 4 kB / 348.1 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.007451, allocations: 15.89 kB / 348.1 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.007457, allocations: 4 kB / 348.1 MB, free: 2.797 MB / 314.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 8.685e-05/0.007544, allocations: 180.6 kB / 348.3 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.007566, allocations: 19.91 kB / 348.3 MB, free: 2.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.007594, allocations: 21.45 kB / 348.3 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007596, allocations: 0 / 348.3 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.007598, allocations: 0 / 348.3 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007601, allocations: 0 / 348.3 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.007873, allocations: 381.8 kB / 348.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007874, allocations: 0 / 348.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/0.007938, allocations: 19.98 kB / 348.7 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.007941, allocations: 0 / 348.7 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.007951, allocations: 8 kB / 348.7 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.007953, allocations: 4 kB / 348.7 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007955, allocations: 0 / 348.7 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.008164, allocations: 303.6 kB / 349 MB, free: 1.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.008179, allocations: 11.91 kB / 349 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.008199, allocations: 4 kB / 349 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.896e-05/0.008258, allocations: 11.98 kB / 349 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.008289, allocations: 7.984 kB / 349 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.008296, allocations: 4 kB / 349 MB, free: 1.781 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.628e-05/0.008362, allocations: 167 kB / 349.2 MB, free: 1.617 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008362, allocations: 4.031 kB / 349.2 MB, free: 1.613 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.008562, allocations: 35.94 kB / 349.2 MB, free: 1.578 MB / 314.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 0.000124/0.008686, allocations: 115.2 kB / 349.4 MB, free: 1.457 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.00882, allocations: 91.44 kB / 349.4 MB, free: 1.363 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.008821, allocations: 0 / 349.4 MB, free: 1.363 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/0.00887, allocations: 43.48 kB / 349.5 MB, free: 1.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.009093, allocations: 41.14 kB / 349.5 MB, free: 1.285 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.009679, allocations: 299.2 kB / 349.8 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.095e-05/0.00972, allocations: 71.98 kB / 349.9 MB, free: 0.875 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.934e-05/0.00977, allocations: 17.48 kB / 349.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.009861, allocations: 114.1 kB / 350 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of SimCode: time 8.827e-06/0.00987, allocations: 4 kB / 350 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of Templates: time 0.004012/0.01388, allocations: 2.202 MB / 352.2 MB, free: 14.57 MB / 330.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.9966224059462547]