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.001845/0.001845, allocations: 93.47 kB / 19.44 MB, free: 336 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.002072/0.002072, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.695/1.695, allocations: 177.1 MB / 203.1 MB, free: 5.262 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.07263/0.07263, allocations: 8.611 MB / 268.2 MB, free: 4.816 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.834e-06/1.834e-06, allocations: 0 / 340.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.62e-05, allocations: 2.312 kB / 340.1 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002357/0.002383, allocations: 1.626 MB / 341.8 MB, free: 7.094 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005437/0.002927, allocations: 310.8 kB / 342.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.002994, allocations: 0 / 342.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.003024, allocations: 11.88 kB / 342.1 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.003141, allocations: 19.8 kB / 342.1 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.003466, allocations: 95.64 kB / 342.2 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.003623, allocations: 127.6 kB / 342.3 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.003724, allocations: 25.78 kB / 342.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.783e-05/0.003822, allocations: 75.75 kB / 342.4 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.681e-05/0.003899, allocations: 47.8 kB / 342.5 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.003927, allocations: 12 kB / 342.5 MB, free: 6.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-05/0.003998, allocations: 39.97 kB / 342.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.004029, allocations: 31.86 kB / 342.5 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.004068, allocations: 39.83 kB / 342.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.004243, allocations: 159.5 kB / 342.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004245, allocations: 0 / 342.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004246, allocations: 0 / 342.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.004251, allocations: 0 / 342.7 MB, free: 6.117 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.0005666/0.004817, allocations: 491.4 kB / 343.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.004852, allocations: 12.03 kB / 343.2 MB, free: 5.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/0.004921, allocations: 20.84 kB / 343.2 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.005106, allocations: 160.4 kB / 343.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.005121, allocations: 12.36 kB / 343.4 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.005151, allocations: 12.38 kB / 343.4 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.005387, allocations: 251.4 kB / 343.7 MB, free: 5.062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.005399, allocations: 192 / 343.7 MB, free: 5.062 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.005416, allocations: 8.359 kB / 343.7 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.005422, allocations: 8.375 kB / 343.7 MB, free: 5.047 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.005549, allocations: 51.86 kB / 343.7 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.006131, allocations: 391.5 kB / 344.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.006334, allocations: 111.1 kB / 344.2 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.63e-05/0.00643, allocations: 55.67 kB / 344.3 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.00645, allocations: 3.938 kB / 344.3 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.006651, allocations: 128.9 kB / 344.4 MB, free: 4.254 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.006653, allocations: 3.938 kB / 344.4 MB, free: 4.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004114/0.007064, allocations: 201.2 kB / 344.6 MB, free: 4.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.007115, allocations: 158.2 kB / 344.8 MB, free: 3.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.00727, allocations: 267.3 kB / 345 MB, free: 3.582 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.007286, allocations: 33.7 kB / 345.1 MB, free: 3.543 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.00735, allocations: 170.8 kB / 345.2 MB, free: 3.371 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.007376, allocations: 43.67 kB / 345.3 MB, free: 3.328 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.00743, allocations: 51.36 kB / 345.3 MB, free: 3.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.007502, allocations: 0.504 MB / 345.8 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/0.007579, allocations: 39.92 kB / 345.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.007699, allocations: 252.6 kB / 346.1 MB, free: 2.398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.007842, allocations: 137.7 kB / 346.3 MB, free: 2.234 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007844, allocations: 4 kB / 346.3 MB, free: 2.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002166/0.00806, allocations: 183.7 kB / 346.4 MB, free: 2.047 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.008074, allocations: 8 kB / 346.4 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.008079, allocations: 0 / 346.4 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.008097, allocations: 4 kB / 346.4 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.008238, allocations: 31.92 kB / 346.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.008245, allocations: 4 kB / 346.5 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.713e-05/0.008342, allocations: 23.88 kB / 346.5 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.008351, allocations: 4 kB / 346.5 MB, free: 1.973 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 8.076e-05/0.008432, allocations: 186.8 kB / 346.7 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.008462, allocations: 19.91 kB / 346.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.008516, allocations: 21.45 kB / 346.7 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008518, allocations: 4 kB / 346.7 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.008522, allocations: 0 / 346.7 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.008525, allocations: 0 / 346.7 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.008886, allocations: 449.3 kB / 347.2 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.008888, allocations: 7.938 kB / 347.2 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-05/0.008984, allocations: 15.94 kB / 347.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.008986, allocations: 4 kB / 347.2 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.009, allocations: 7.984 kB / 347.2 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.009001, allocations: 0 / 347.2 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009002, allocations: 0 / 347.2 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.009347, allocations: 363.7 kB / 347.6 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.00937, allocations: 23.83 kB / 347.6 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.009398, allocations: 4 kB / 347.6 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.009518, allocations: 4 kB / 347.6 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.009567, allocations: 15.95 kB / 347.6 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.009579, allocations: 15.92 kB / 347.6 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.184e-05/0.009661, allocations: 183.2 kB / 347.8 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009661, allocations: 0 / 347.8 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.009917, allocations: 35.98 kB / 347.8 MB, free: 0.5703 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.0001314/0.01005, allocations: 115.2 kB / 348 MB, free: 456 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.01027, allocations: 123.5 kB / 348.1 MB, free: 328 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01027, allocations: 0 / 348.1 MB, free: 328 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.048e-05/0.01036, allocations: 56.03 kB / 348.1 MB, free: 268 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.01068, allocations: 48.2 kB / 348.2 MB, free: 228 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007136/0.0114, allocations: 318.6 kB / 348.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.01151, allocations: 98.27 kB / 348.6 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.92e-05/0.01158, allocations: 29.41 kB / 348.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.01163, allocations: 16.5 kB / 348.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01163, allocations: 0 / 348.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of Templates: time 0.00611/0.01774, allocations: 2.021 MB / 350.6 MB, free: 13.73 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: 4.673454517964274]