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.0009058/0.0009058, allocations: 80.88 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.000923/0.000923, allocations: 181 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.946/0.946, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.03762/0.03762, allocations: 8.625 MB / 268.9 MB, free: 4.801 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.373e-06/1.373e-06, allocations: 0 / 288.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.705e-05, allocations: 2.312 kB / 288.1 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.108/0.108, allocations: 1.704 MB / 289.8 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006814/0.1087, allocations: 298.2 kB / 290.1 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.1087, allocations: 0 / 290.1 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.1088, allocations: 12.66 kB / 290.1 MB, free: 18.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.1089, allocations: 23.66 kB / 290.1 MB, free: 18.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.1092, allocations: 91.11 kB / 290.2 MB, free: 18.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.1094, allocations: 135.2 kB / 290.4 MB, free: 18.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1095, allocations: 19.22 kB / 290.4 MB, free: 18.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.746e-05/0.1095, allocations: 74 kB / 290.4 MB, free: 18.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.1096, allocations: 47.69 kB / 290.5 MB, free: 18.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.1096, allocations: 11.06 kB / 290.5 MB, free: 18.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.52e-05/0.1097, allocations: 42.92 kB / 290.5 MB, free: 18.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.1098, allocations: 36.5 kB / 290.6 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.1098, allocations: 38.78 kB / 290.6 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.11, allocations: 129.2 kB / 290.7 MB, free: 18.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.11, allocations: 0 / 290.7 MB, free: 18.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.11, allocations: 0 / 290.7 MB, free: 18.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.11, allocations: 0 / 290.7 MB, free: 18.52 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.0004101/0.1104, allocations: 348.1 kB / 291.1 MB, free: 18.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1104, allocations: 9.719 kB / 291.1 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.1105, allocations: 15.95 kB / 291.1 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.1106, allocations: 157.2 kB / 291.3 MB, free: 18.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.1106, allocations: 5.438 kB / 291.3 MB, free: 18.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1106, allocations: 10.92 kB / 291.3 MB, free: 18.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1108, allocations: 226.8 kB / 291.5 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1108, allocations: 5.031 kB / 291.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1108, allocations: 5.969 kB / 291.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1108, allocations: 3.906 kB / 291.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.778e-05/0.1109, allocations: 19.09 kB / 291.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.1112, allocations: 230.7 kB / 291.8 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.113e-05/0.1112, allocations: 70.67 kB / 291.8 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.1113, allocations: 32.25 kB / 291.9 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.1113, allocations: 2.828 kB / 291.9 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.1114, allocations: 97.19 kB / 292 MB, free: 17.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.462e-06/0.1114, allocations: 1.438 kB / 292 MB, free: 17.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001536/0.1116, allocations: 99.22 kB / 292.1 MB, free: 17.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.1116, allocations: 166.6 kB / 292.2 MB, free: 17.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.1117, allocations: 181.1 kB / 292.4 MB, free: 17.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.1117, allocations: 29.89 kB / 292.4 MB, free: 17.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.1117, allocations: 113 kB / 292.5 MB, free: 17.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.1118, allocations: 40.11 kB / 292.6 MB, free: 17.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.1118, allocations: 41.11 kB / 292.6 MB, free: 17.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.595e-05/0.1118, allocations: 331.5 kB / 292.9 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.1119, allocations: 16.2 kB / 293 MB, free: 16.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-05/0.1119, allocations: 195.8 kB / 293.1 MB, free: 16.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.342e-05/0.112, allocations: 96.45 kB / 293.2 MB, free: 16.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.112, allocations: 0.75 kB / 293.2 MB, free: 16.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001179/0.1121, allocations: 112.7 kB / 293.3 MB, free: 16.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1121, allocations: 5.344 kB / 293.4 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1121, allocations: 2.094 kB / 293.4 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1121, allocations: 3.344 kB / 293.4 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.1123, allocations: 38.7 kB / 293.4 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1123, allocations: 8.781 kB / 293.4 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/0.1124, allocations: 15.11 kB / 293.4 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1124, allocations: 7.969 kB / 293.4 MB, free: 16.49 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.861e-05/0.1124, allocations: 123.6 kB / 293.5 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.1124, allocations: 14.52 kB / 293.6 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.1125, allocations: 20.31 kB / 293.6 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1125, allocations: 4.359 kB / 293.6 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.1125, allocations: 0 / 293.6 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1125, allocations: 2.125 kB / 293.6 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.1127, allocations: 270 kB / 293.9 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1127, allocations: 1.031 kB / 293.9 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/0.1128, allocations: 24.64 kB / 293.9 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1128, allocations: 5.906 kB / 293.9 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1128, allocations: 7.078 kB / 293.9 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1128, allocations: 0 / 293.9 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1128, allocations: 1.062 kB / 293.9 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.1129, allocations: 209 kB / 294.1 MB, free: 16.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.1129, allocations: 14.95 kB / 294.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.1129, allocations: 7.688 kB / 294.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.353e-05/0.113, allocations: 4.578 kB / 294.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.113, allocations: 12.88 kB / 294.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.113, allocations: 3.031 kB / 294.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.326e-05/0.1131, allocations: 51.45 kB / 294.2 MB, free: 16.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1131, allocations: 0 / 294.2 MB, free: 16.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.1133, allocations: 36.92 kB / 294.2 MB, free: 16.01 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 0.0001049/0.1134, allocations: 111.4 kB / 294.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.1135, allocations: 75.3 kB / 294.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1135, allocations: 2.469 kB / 294.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.1135, allocations: 35.91 kB / 294.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.1137, allocations: 39.11 kB / 294.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.1141, allocations: 287.3 kB / 294.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.737e-05/0.1141, allocations: 69.95 kB / 294.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.162e-05/0.1142, allocations: 23.95 kB / 294.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.1143, allocations: 87.22 kB / 294.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1143, allocations: 1.094 kB / 294.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of Templates: time 0.003991/0.1183, allocations: 2.174 MB / 297.1 MB, free: 15.46 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.596107975114137]