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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.0612/0.0612, allocations: 11.34 MB / 314.7 MB, free: 0.8242 MB / 238.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001904/0.001904, allocations: 71.88 kB / 438.5 MB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2653, allocations: 54.82 MB / 493.3 MB, free: 24.13 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002895/0.2682, allocations: 1.648 MB / 495 MB, free: 22.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006736/0.2689, allocations: 323.3 kB / 495.3 MB, free: 22.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.286e-05/0.269, allocations: 1.375 kB / 495.3 MB, free: 22.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.269, allocations: 12.98 kB / 495.3 MB, free: 22.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.2691, allocations: 26.02 kB / 495.3 MB, free: 22.72 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.2695, allocations: 82.8 kB / 495.4 MB, free: 22.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.2697, allocations: 130.3 kB / 495.5 MB, free: 22.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.2699, allocations: 22.86 kB / 495.6 MB, free: 22.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.323e-05/0.2699, allocations: 58.8 kB / 495.6 MB, free: 22.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.27, allocations: 63.97 kB / 495.7 MB, free: 22.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.27, allocations: 11 kB / 495.7 MB, free: 22.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-05/0.2701, allocations: 41.86 kB / 495.7 MB, free: 22.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.2702, allocations: 31.19 kB / 495.8 MB, free: 22.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.819e-05/0.2703, allocations: 57.56 kB / 495.8 MB, free: 22.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.2705, allocations: 147.9 kB / 496 MB, free: 22.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2705, allocations: 0 / 496 MB, free: 22.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2705, allocations: 0 / 496 MB, free: 22.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2705, allocations: 5.375 kB / 496 MB, free: 22.41 MB / 366.1 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.0006094/0.2711, allocations: 459.8 kB / 496.4 MB, free: 21.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2711, allocations: 13.14 kB / 496.4 MB, free: 21.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.2712, allocations: 17.16 kB / 496.4 MB, free: 21.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.2714, allocations: 234.1 kB / 496.7 MB, free: 21.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2714, allocations: 4.031 kB / 496.7 MB, free: 21.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.2715, allocations: 11.89 kB / 496.7 MB, free: 21.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.2717, allocations: 135 kB / 496.8 MB, free: 21.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2717, allocations: 4.125 kB / 496.8 MB, free: 21.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.2717, allocations: 9.922 kB / 496.8 MB, free: 21.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2717, allocations: 2.156 kB / 496.8 MB, free: 21.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.2719, allocations: 49.75 kB / 496.9 MB, free: 21.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.2725, allocations: 403.9 kB / 497.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.2727, allocations: 105.8 kB / 497.4 MB, free: 21.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.2729, allocations: 55.47 kB / 497.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.2729, allocations: 1.812 kB / 497.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.2731, allocations: 121.6 kB / 497.6 MB, free: 21.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.2731, allocations: 3.984 kB / 497.6 MB, free: 21.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004428/0.2736, allocations: 201 kB / 497.8 MB, free: 21.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.2736, allocations: 157.3 kB / 497.9 MB, free: 20.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.2738, allocations: 188.1 kB / 498.1 MB, free: 20.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.2738, allocations: 32.2 kB / 498.1 MB, free: 20.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.2739, allocations: 122.3 kB / 498.2 MB, free: 20.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.2739, allocations: 48.77 kB / 498.3 MB, free: 20.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.2739, allocations: 39.86 kB / 498.3 MB, free: 20.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.274, allocations: 332 kB / 498.7 MB, free: 20.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.2741, allocations: 37.12 kB / 498.7 MB, free: 20.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.2742, allocations: 111.2 kB / 498.8 MB, free: 20.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.2744, allocations: 130.4 kB / 498.9 MB, free: 19.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2744, allocations: 5.188 kB / 498.9 MB, free: 19.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002687/0.2747, allocations: 171.3 kB / 499.1 MB, free: 19.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2747, allocations: 5.938 kB / 499.1 MB, free: 19.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2747, allocations: 2.594 kB / 499.1 MB, free: 19.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.2747, allocations: 6.969 kB / 499.1 MB, free: 19.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.2748, allocations: 34.84 kB / 499.2 MB, free: 19.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.2749, allocations: 3.641 kB / 499.2 MB, free: 19.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.275, allocations: 22.86 kB / 499.2 MB, free: 19.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.275, allocations: 5.312 kB / 499.2 MB, free: 19.86 MB / 366.1 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.754e-05/0.2751, allocations: 128.9 kB / 499.3 MB, free: 19.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.2751, allocations: 16.09 kB / 499.3 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.2752, allocations: 23.41 kB / 499.3 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2752, allocations: 5.5 kB / 499.4 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2752, allocations: 1.219 kB / 499.4 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2752, allocations: 0.9375 kB / 499.4 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.2756, allocations: 468.9 kB / 499.8 MB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2756, allocations: 0.9062 kB / 499.8 MB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.2758, allocations: 21.38 kB / 499.8 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2758, allocations: 5.594 kB / 499.8 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2758, allocations: 9.359 kB / 499.8 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2758, allocations: 0 / 499.8 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2758, allocations: 1.656 kB / 499.8 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.2762, allocations: 311.1 kB / 0.4884 GB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.2762, allocations: 103.1 kB / 0.4885 GB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.2763, allocations: 4.531 kB / 0.4885 GB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.2764, allocations: 17.36 kB / 0.4886 GB, free: 19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.2765, allocations: 6.25 kB / 0.4886 GB, free: 19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.2765, allocations: 6.766 kB / 0.4886 GB, free: 19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.391e-05/0.2766, allocations: 142.6 kB / 0.4887 GB, free: 18.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2766, allocations: 0 / 0.4887 GB, free: 18.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000287/0.2769, allocations: 33.39 kB / 0.4887 GB, free: 18.89 MB / 366.1 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.000129/0.277, allocations: 117.8 kB / 0.4888 GB, free: 18.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.2772, allocations: 111.1 kB / 0.4889 GB, free: 18.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2772, allocations: 1.125 kB / 0.4889 GB, free: 18.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.2774, allocations: 53.67 kB / 0.489 GB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.2777, allocations: 42.09 kB / 0.489 GB, free: 18.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.2784, allocations: 347.2 kB / 0.4894 GB, free: 18.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.2785, allocations: 0.713 MB / 0.4901 GB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.2785, allocations: 22.42 kB / 0.4901 GB, free: 17.72 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2785, allocations: 0 / 0.4901 GB, free: 17.72 MB / 366.1 MB Notification: Performance of Templates: time 0.003718/0.2823, allocations: 2.007 MB / 0.4921 GB, free: 16.68 MB / 366.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.850717899855226] Failed to read output from testmodel.py, exit status != 0: 0.28963556699454784 0.30005224899999994 0.027299808000000002 Calling exit ...