Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.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.0008686/0.0008686, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009302/0.0009302, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.8918/0.8918, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.03605/0.03605, allocations: 8.626 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.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 288.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.296e-05, allocations: 6.25 kB / 288.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.09427/0.09429, allocations: 1.622 MB / 289.7 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004896/0.09478, allocations: 248.9 kB / 289.9 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.09483, allocations: 4.625 kB / 289.9 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.09485, allocations: 8.812 kB / 289.9 MB, free: 18.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.665e-05/0.09494, allocations: 19.81 kB / 290 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.09517, allocations: 64.17 kB / 290 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.09531, allocations: 112.6 kB / 290.1 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.0954, allocations: 18.5 kB / 290.1 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.124e-05/0.09547, allocations: 54.12 kB / 290.2 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.09553, allocations: 38.31 kB / 290.2 MB, free: 18.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.09555, allocations: 9.156 kB / 290.2 MB, free: 18.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.172e-05/0.09561, allocations: 37.25 kB / 290.3 MB, free: 18.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.09563, allocations: 23.53 kB / 290.3 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.09566, allocations: 32.41 kB / 290.3 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.09578, allocations: 95.89 kB / 290.4 MB, free: 18.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.09579, allocations: 0.8125 kB / 290.4 MB, free: 18.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.09579, allocations: 1.188 kB / 290.4 MB, free: 18.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.09579, allocations: 0 / 290.4 MB, free: 18.6 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003299/0.09612, allocations: 315.9 kB / 290.7 MB, free: 18.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.09615, allocations: 11.22 kB / 290.8 MB, free: 18.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.09618, allocations: 17.84 kB / 290.8 MB, free: 18.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.09628, allocations: 151.3 kB / 290.9 MB, free: 18.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.09629, allocations: 4.344 kB / 290.9 MB, free: 18.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.09631, allocations: 8.844 kB / 290.9 MB, free: 18.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.09642, allocations: 83.89 kB / 291 MB, free: 18.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.09643, allocations: 192 / 291 MB, free: 18.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.09644, allocations: 4.125 kB / 291 MB, free: 18.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.09644, allocations: 1.656 kB / 291 MB, free: 18.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.858e-05/0.09647, allocations: 23.61 kB / 291 MB, free: 18.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.09673, allocations: 218.8 kB / 291.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.5e-05/0.09682, allocations: 60.19 kB / 291.3 MB, free: 17.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.09685, allocations: 26.84 kB / 291.3 MB, free: 17.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.493e-06/0.09685, allocations: 2.125 kB / 291.3 MB, free: 17.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.331e-05/0.09695, allocations: 98.59 kB / 291.4 MB, free: 17.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.09695, allocations: 3.156 kB / 291.4 MB, free: 17.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001377/0.09709, allocations: 89.62 kB / 291.5 MB, free: 17.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.09711, allocations: 55.5 kB / 291.6 MB, free: 17.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.09718, allocations: 158.7 kB / 291.7 MB, free: 17.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.09719, allocations: 34.67 kB / 291.8 MB, free: 17.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.09722, allocations: 105.3 kB / 291.9 MB, free: 17.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.09724, allocations: 37.77 kB / 291.9 MB, free: 17.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.09727, allocations: 43.45 kB / 292 MB, free: 17.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.897e-05/0.0973, allocations: 326.9 kB / 292.3 MB, free: 17.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.381e-05/0.09732, allocations: 11.97 kB / 292.3 MB, free: 17.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.09736, allocations: 70.34 kB / 292.4 MB, free: 17.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.309e-05/0.09742, allocations: 89.05 kB / 292.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.09742, allocations: 1.562 kB / 292.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 9.286e-05/0.09752, allocations: 101.9 kB / 292.5 MB, free: 17.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.09753, allocations: 9.984 kB / 292.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.09753, allocations: 3.625 kB / 292.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.09754, allocations: 2.219 kB / 292.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.09763, allocations: 39.23 kB / 292.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.09763, allocations: 2.688 kB / 292.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.09766, allocations: 13.25 kB / 292.6 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.09767, allocations: 8.25 kB / 292.6 MB, free: 17.04 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,fO_dig_TU.y,$PRE.fO_dig_TU.y,fO_dig_FE.y,$PRE.fO_dig_FE.y,fO_dig_BE.y,$PRE.fO_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 4.504e-05/0.09772, allocations: 127.5 kB / 292.7 MB, free: 16.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.09773, allocations: 16.45 kB / 292.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.09776, allocations: 18.42 kB / 292.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.09776, allocations: 1.062 kB / 292.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.09776, allocations: 2.359 kB / 292.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.09777, allocations: 0.8438 kB / 292.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.09792, allocations: 255.4 kB / 293 MB, free: 16.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.09792, allocations: 8.438 kB / 293 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.09797, allocations: 15.72 kB / 293.1 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.09798, allocations: 5.062 kB / 293.1 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.09798, allocations: 6.25 kB / 293.1 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.09799, allocations: 1.938 kB / 293.1 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.09799, allocations: 0.5625 kB / 293.1 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.09811, allocations: 192.7 kB / 293.3 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.09812, allocations: 15.06 kB / 293.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.09814, allocations: 6.234 kB / 293.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.463e-05/0.09817, allocations: 3.422 kB / 293.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.0982, allocations: 12.45 kB / 293.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.09821, allocations: 7.219 kB / 293.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.785e-05/0.09825, allocations: 44.47 kB / 293.3 MB, free: 16.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09825, allocations: 0 / 293.3 MB, free: 16.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.0984, allocations: 31.42 kB / 293.4 MB, free: 16.55 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (fO.y) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_BE.y,fO_dig_FE.y,fO_dig_TU.y) * Number of discrete states: 6 (fO_dig_TU.u,fO_dig_TU.y,fO_dig_FE.u,fO_dig_FE.y,fO_dig_BE.u,fO_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 8.942e-05/0.09849, allocations: 92.53 kB / 293.5 MB, free: 16.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.034e-05/0.09858, allocations: 72.62 kB / 293.5 MB, free: 16.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.09858, allocations: 1.094 kB / 293.5 MB, free: 16.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.09862, allocations: 32.95 kB / 293.6 MB, free: 16.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.09877, allocations: 29.89 kB / 293.6 MB, free: 16.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.09915, allocations: 269.8 kB / 293.9 MB, free: 16.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.667e-05/0.09918, allocations: 70.58 kB / 293.9 MB, free: 16.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.324e-05/0.09922, allocations: 17.17 kB / 293.9 MB, free: 16.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.09927, allocations: 67.09 kB / 294 MB, free: 16.16 MB / 266.7 MB Notification: Performance of SimCode: time 3.6e-07/0.09927, allocations: 2.375 kB / 294 MB, free: 16.16 MB / 266.7 MB Notification: Performance of Templates: time 0.003268/0.1025, allocations: 1.544 MB / 295.6 MB, free: 16.08 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.37796117272228]