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.0009672/0.0009672, allocations: 92.2 kB / 20.19 MB, free: 4.367 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.001089/0.001089, allocations: 173 kB / 23.5 MB, free: 1.055 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.095/1.095, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.04617/0.04617, allocations: 8.611 MB / 268.9 MB, free: 4.965 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.923e-06/1.923e-06, allocations: 0 / 340.9 MB, free: 8.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.771e-05, allocations: 2.312 kB / 340.9 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002628/0.002656, allocations: 1.661 MB / 342.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006195/0.003275, allocations: 302.9 kB / 342.8 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.003355, allocations: 0 / 342.8 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.003393, allocations: 11.88 kB / 342.9 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.003516, allocations: 23.73 kB / 342.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.003909, allocations: 95.66 kB / 343 MB, free: 6.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.004108, allocations: 127.7 kB / 343.1 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.004231, allocations: 21.78 kB / 343.1 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.004322, allocations: 71.75 kB / 343.2 MB, free: 6.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.601e-05/0.004408, allocations: 51.8 kB / 343.2 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.004436, allocations: 12 kB / 343.2 MB, free: 6.367 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.004518, allocations: 35.97 kB / 343.3 MB, free: 6.332 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.663e-05/0.004554, allocations: 31.84 kB / 343.3 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.004601, allocations: 43.83 kB / 343.4 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.004801, allocations: 127.5 kB / 343.5 MB, free: 6.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004804, allocations: 0 / 343.5 MB, free: 6.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004804, allocations: 0 / 343.5 MB, free: 6.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.00481, allocations: 0 / 343.5 MB, free: 6.133 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.0005675/0.005377, allocations: 483.7 kB / 344 MB, free: 5.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.005418, allocations: 8.031 kB / 344 MB, free: 5.613 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/0.005491, allocations: 24.84 kB / 344 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.00568, allocations: 168.4 kB / 344.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.005692, allocations: 384 / 344.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.005725, allocations: 16.38 kB / 344.2 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.005959, allocations: 252 kB / 344.4 MB, free: 5.082 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.005968, allocations: 4.172 kB / 344.4 MB, free: 5.078 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.005984, allocations: 4.375 kB / 344.4 MB, free: 5.074 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.005994, allocations: 4.375 kB / 344.4 MB, free: 5.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.492e-05/0.006069, allocations: 23.92 kB / 344.5 MB, free: 5.047 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.006593, allocations: 375.5 kB / 344.8 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.006756, allocations: 87.09 kB / 344.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/0.006827, allocations: 43.67 kB / 344.9 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.006838, allocations: 11.88 kB / 345 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.006997, allocations: 104.9 kB / 345.1 MB, free: 4.371 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.943e-06/0.006998, allocations: 0 / 345.1 MB, free: 4.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003265/0.007325, allocations: 153.6 kB / 345.2 MB, free: 4.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.007372, allocations: 162.2 kB / 345.4 MB, free: 4.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.007509, allocations: 235.2 kB / 345.6 MB, free: 3.773 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.007526, allocations: 33.7 kB / 345.6 MB, free: 3.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.007588, allocations: 174.7 kB / 345.8 MB, free: 3.559 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.007615, allocations: 39.84 kB / 345.8 MB, free: 3.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.00767, allocations: 51.31 kB / 345.9 MB, free: 3.461 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.007727, allocations: 0.5001 MB / 346.4 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.007773, allocations: 15.98 kB / 346.4 MB, free: 2.934 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.007887, allocations: 230.1 kB / 346.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.008022, allocations: 121.6 kB / 346.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.008027, allocations: 8 kB / 346.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002069/0.008234, allocations: 144.7 kB / 346.9 MB, free: 2.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.008253, allocations: 7.984 kB / 346.9 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.008261, allocations: 4 kB / 346.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.008277, allocations: 0 / 346.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.008435, allocations: 39.92 kB / 346.9 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.008445, allocations: 4 kB / 347 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-05/0.008538, allocations: 12.08 kB / 347 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.008551, allocations: 16 kB / 347 MB, free: 2.258 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.705e-05/0.008638, allocations: 168.5 kB / 347.1 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.008673, allocations: 23.91 kB / 347.2 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.008719, allocations: 21.45 kB / 347.2 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.008722, allocations: 7.938 kB / 347.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.008727, allocations: 0 / 347.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.008732, allocations: 0 / 347.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.009122, allocations: 413.2 kB / 347.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.009125, allocations: 0 / 347.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.009233, allocations: 24 kB / 347.6 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.009237, allocations: 3.984 kB / 347.6 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.009257, allocations: 4 kB / 347.6 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.00926, allocations: 0 / 347.6 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.009262, allocations: 0 / 347.6 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.00958, allocations: 311.4 kB / 347.9 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.009604, allocations: 11.91 kB / 347.9 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.009637, allocations: 11.94 kB / 348 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.009745, allocations: 7.984 kB / 348 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.009802, allocations: 11.98 kB / 348 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.009815, allocations: 11.97 kB / 348 MB, free: 1.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.302e-05/0.009898, allocations: 171.1 kB / 348.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009898, allocations: 0 / 348.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003283/0.01023, allocations: 35.94 kB / 348.2 MB, free: 0.9766 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.0001635/0.01039, allocations: 119.2 kB / 348.3 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.0106, allocations: 91.52 kB / 348.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.0106, allocations: 384 / 348.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.056e-05/0.01068, allocations: 51.66 kB / 348.4 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.01104, allocations: 34.64 kB / 348.5 MB, free: 0.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000721/0.01177, allocations: 306.5 kB / 348.8 MB, free: 344 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.01181, allocations: 71.98 kB / 348.9 MB, free: 252 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.986e-05/0.01188, allocations: 21.48 kB / 348.9 MB, free: 228 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.01192, allocations: 16.5 kB / 348.9 MB, free: 212 kB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01192, allocations: 0 / 348.9 MB, free: 212 kB / 266.7 MB Notification: Performance of Templates: time 0.005793/0.01771, allocations: 2.023 MB / 350.9 MB, free: 14.22 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: 3.121038706973195]