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.0008303/0.0008303, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0008667/0.0008667, allocations: 173 kB / 23.36 MB, free: 1.133 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.871/0.871, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.03625/0.03625, allocations: 8.616 MB / 268.9 MB, free: 4.793 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.302e-06/1.302e-06, allocations: 0 / 288 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.513e-05, allocations: 2.312 kB / 288 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.09536/0.09538, allocations: 1.658 MB / 289.7 MB, free: 18.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005707/0.09595, allocations: 305.7 kB / 290 MB, free: 18.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.096, allocations: 2.469 kB / 290 MB, free: 18.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.09603, allocations: 13.12 kB / 290 MB, free: 18.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.09613, allocations: 23 kB / 290 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.09645, allocations: 89.38 kB / 290.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.0966, allocations: 132.7 kB / 290.3 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.09669, allocations: 16.45 kB / 290.3 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.854e-05/0.09677, allocations: 78.64 kB / 290.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.587e-05/0.09684, allocations: 51.7 kB / 290.4 MB, free: 18.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.09687, allocations: 11.53 kB / 290.4 MB, free: 18.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.841e-05/0.09693, allocations: 37.66 kB / 290.4 MB, free: 18.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.09696, allocations: 37.73 kB / 290.5 MB, free: 18.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.09699, allocations: 41.2 kB / 290.5 MB, free: 18.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.09714, allocations: 114.7 kB / 290.6 MB, free: 18.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.09714, allocations: 0 / 290.6 MB, free: 18.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.09714, allocations: 4.438 kB / 290.6 MB, free: 18.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.09715, allocations: 1.969 kB / 290.6 MB, free: 18.48 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.0003634/0.09751, allocations: 351.1 kB / 291 MB, free: 18.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.09754, allocations: 11 kB / 291 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.09757, allocations: 19.39 kB / 291 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.09769, allocations: 150.1 kB / 291.2 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.0977, allocations: 9.406 kB / 291.2 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.09772, allocations: 11.25 kB / 291.2 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.09787, allocations: 232.9 kB / 291.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.09787, allocations: 0.9375 kB / 291.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.09788, allocations: 5.125 kB / 291.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.09789, allocations: 2.938 kB / 291.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.651e-05/0.09792, allocations: 19.89 kB / 291.4 MB, free: 17.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.09821, allocations: 232.9 kB / 291.7 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.267e-05/0.0983, allocations: 63.58 kB / 291.7 MB, free: 17.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.09834, allocations: 32.34 kB / 291.8 MB, free: 17.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.09835, allocations: 4.391 kB / 291.8 MB, free: 17.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.339e-05/0.09844, allocations: 98.23 kB / 291.9 MB, free: 17.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.09844, allocations: 1.156 kB / 291.9 MB, free: 17.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001466/0.09859, allocations: 100.5 kB / 292 MB, free: 17.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.09862, allocations: 162.9 kB / 292.1 MB, free: 17.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.889e-05/0.09871, allocations: 181.5 kB / 292.3 MB, free: 17.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.09873, allocations: 32.27 kB / 292.3 MB, free: 17.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.09876, allocations: 113.4 kB / 292.4 MB, free: 17.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.09878, allocations: 41.83 kB / 292.5 MB, free: 17.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.09882, allocations: 44.02 kB / 292.5 MB, free: 17.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.166e-05/0.09885, allocations: 330.5 kB / 292.8 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.09887, allocations: 13.86 kB / 292.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/0.09892, allocations: 194.6 kB / 293 MB, free: 16.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.962e-05/0.09899, allocations: 97.67 kB / 293.1 MB, free: 16.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.09899, allocations: 0 / 293.1 MB, free: 16.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001088/0.0991, allocations: 109.2 kB / 293.3 MB, free: 16.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.09911, allocations: 5.906 kB / 293.3 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.09912, allocations: 1.906 kB / 293.3 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.09913, allocations: 2.25 kB / 293.3 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.09922, allocations: 40.25 kB / 293.3 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.09923, allocations: 4.297 kB / 293.3 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.09928, allocations: 16.3 kB / 293.3 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.09928, allocations: 6.781 kB / 293.3 MB, free: 16.45 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 5.199e-05/0.09934, allocations: 131.8 kB / 293.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.09936, allocations: 15.31 kB / 293.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.09938, allocations: 20.91 kB / 293.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.09939, allocations: 2.25 kB / 293.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.09939, allocations: 0 / 293.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.09939, allocations: 1.219 kB / 293.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.09957, allocations: 273.2 kB / 293.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.09958, allocations: 0.6562 kB / 293.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.973e-05/0.09963, allocations: 16.55 kB / 293.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.09964, allocations: 2.125 kB / 293.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.09965, allocations: 4.609 kB / 293.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.09965, allocations: 1.156 kB / 293.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.09965, allocations: 1.062 kB / 293.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.09979, allocations: 209.3 kB / 294 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.09981, allocations: 19.59 kB / 294 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.09982, allocations: 6.281 kB / 294 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.317e-05/0.09988, allocations: 8.938 kB / 294 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.09991, allocations: 10.84 kB / 294 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.09991, allocations: 4.156 kB / 294 MB, free: 15.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.059e-05/0.09995, allocations: 54.06 kB / 294.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09995, allocations: 0 / 294.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001645/0.1001, allocations: 37.83 kB / 294.1 MB, free: 15.96 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.814e-05/0.1002, allocations: 94.81 kB / 294.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.1003, allocations: 78.59 kB / 294.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1003, allocations: 2.312 kB / 294.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.234e-05/0.1004, allocations: 35.61 kB / 294.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.1005, allocations: 43.59 kB / 294.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.1009, allocations: 289.3 kB / 294.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.872e-05/0.101, allocations: 68.98 kB / 294.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.109e-05/0.101, allocations: 21.22 kB / 294.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.1011, allocations: 88.5 kB / 294.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1011, allocations: 0 / 294.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of Templates: time 0.003984/0.1051, allocations: 2.142 MB / 297 MB, free: 15.42 MB / 266.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.484076865017414]