Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.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.0009554/0.0009554, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001036/0.001036, allocations: 169 kB / 23.27 MB, free: 1.223 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.9695/0.9695, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.03713/0.03713, allocations: 8.621 MB / 268.9 MB, free: 4.773 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.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 341.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.706e-05, allocations: 2.312 kB / 341.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.001918/0.001935, allocations: 1.681 MB / 343 MB, free: 7.504 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005467/0.002482, allocations: 354.8 kB / 343.3 MB, free: 7.156 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.002539, allocations: 3.938 kB / 343.3 MB, free: 7.152 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.00257, allocations: 11.81 kB / 343.3 MB, free: 7.141 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.402e-05/0.002664, allocations: 23.8 kB / 343.4 MB, free: 7.117 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.00295, allocations: 127.6 kB / 343.5 MB, free: 6.992 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.003206, allocations: 155.5 kB / 343.6 MB, free: 6.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.003361, allocations: 17.8 kB / 343.7 MB, free: 6.824 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.0035, allocations: 95.73 kB / 343.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.003613, allocations: 55.78 kB / 343.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.003636, allocations: 16 kB / 343.8 MB, free: 6.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.199e-05/0.003728, allocations: 75.92 kB / 343.9 MB, free: 6.586 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.00376, allocations: 43.83 kB / 343.9 MB, free: 6.543 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.003799, allocations: 55.77 kB / 344 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.003983, allocations: 183.4 kB / 344.2 MB, free: 6.309 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003985, allocations: 0 / 344.2 MB, free: 6.309 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.003986, allocations: 0 / 344.2 MB, free: 6.309 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.00399, allocations: 3.984 kB / 344.2 MB, free: 6.305 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004888/0.004479, allocations: 0.4997 MB / 344.7 MB, free: 5.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.004511, allocations: 8.031 kB / 344.7 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.004555, allocations: 32.8 kB / 344.7 MB, free: 5.727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.004706, allocations: 177.5 kB / 344.9 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.004717, allocations: 8.562 kB / 344.9 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.004744, allocations: 24.36 kB / 344.9 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.004961, allocations: 272.5 kB / 345.2 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.00497, allocations: 0 / 345.2 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.004982, allocations: 3.984 kB / 345.2 MB, free: 5.172 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.004988, allocations: 4 kB / 345.2 MB, free: 5.168 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.578e-05/0.005044, allocations: 23.97 kB / 345.2 MB, free: 5.145 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.0055, allocations: 407.9 kB / 345.6 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.00562, allocations: 91 kB / 345.7 MB, free: 4.617 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.005667, allocations: 47.64 kB / 345.8 MB, free: 4.566 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.005676, allocations: 0 / 345.8 MB, free: 4.566 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.005816, allocations: 115.7 kB / 345.9 MB, free: 4.441 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.005817, allocations: 0 / 345.9 MB, free: 4.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.000245/0.006062, allocations: 197.5 kB / 346.1 MB, free: 4.242 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.006121, allocations: 166.2 kB / 346.2 MB, free: 4.043 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.006231, allocations: 253.9 kB / 346.5 MB, free: 3.777 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.006249, allocations: 33.7 kB / 346.5 MB, free: 3.738 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.006319, allocations: 179.2 kB / 346.7 MB, free: 3.559 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.006351, allocations: 55.56 kB / 346.7 MB, free: 3.504 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.006401, allocations: 59.33 kB / 346.8 MB, free: 3.438 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.00652, allocations: 0.5117 MB / 347.3 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.562e-05/0.006546, allocations: 20.27 kB / 347.3 MB, free: 2.891 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.006668, allocations: 297.8 kB / 347.6 MB, free: 2.504 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.006807, allocations: 207 kB / 347.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006809, allocations: 0 / 347.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001748/0.006984, allocations: 197.2 kB / 348 MB, free: 2.051 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.006996, allocations: 11.98 kB / 348 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.007004, allocations: 7.938 kB / 348 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.007015, allocations: 4 kB / 348 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.007146, allocations: 60.23 kB / 348.1 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.007151, allocations: 11.98 kB / 348.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.007207, allocations: 19.89 kB / 348.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.007216, allocations: 8 kB / 348.1 MB, free: 1.93 MB / 314.7 MB Warning: Assuming fixed start value for the following 3 variables: cplxP_dig_TU.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_FE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_BE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cplxP_dig_TU.u_pre1,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_FE.u_pre1,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_BE.u_pre1,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,$PRE.cplxP_dig_BE.y_pre1,$whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_TU.y,$PRE.cplxP_dig_TU.y,cplxP_dig_FE.y,$PRE.cplxP_dig_FE.y,cplxP_dig_BE.y,$PRE.cplxP_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 0.0001134/0.007329, allocations: 190.4 kB / 348.3 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.007355, allocations: 31.84 kB / 348.4 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.007383, allocations: 21.75 kB / 348.4 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.007385, allocations: 4 kB / 348.4 MB, free: 1.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.007388, allocations: 3.984 kB / 348.4 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007391, allocations: 4 kB / 348.4 MB, free: 1.672 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.007686, allocations: 428.5 kB / 348.8 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.007689, allocations: 4 kB / 348.8 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.007792, allocations: 23.98 kB / 348.8 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.007796, allocations: 0 / 348.8 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.007814, allocations: 15.92 kB / 348.8 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.007816, allocations: 0 / 348.8 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007817, allocations: 0 / 348.8 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.008178, allocations: 358.8 kB / 349.2 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.008202, allocations: 27.73 kB / 349.2 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.008234, allocations: 20.02 kB / 349.2 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.00831, allocations: 4 kB / 349.2 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.008349, allocations: 15.97 kB / 349.3 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.00836, allocations: 4 kB / 349.3 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.00846, allocations: 175 kB / 349.4 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00846, allocations: 0 / 349.4 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002949/0.008755, allocations: 55.92 kB / 349.5 MB, free: 0.5156 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (cplxP.y,cplxP.dy) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_BE.y,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,cplxP_dig_FE.y,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,cplxP_dig_TU.y,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1) * Number of discrete states: 12 (cplxP_dig_TU.u,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y,cplxP_dig_TU.y_pre1,cplxP_dig_FE.u,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y,cplxP_dig_FE.y_pre1,cplxP_dig_BE.u,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y,cplxP_dig_BE.y_pre1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001548/0.00891, allocations: 140 kB / 349.6 MB, free: 380 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.009077, allocations: 115.5 kB / 349.7 MB, free: 260 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009078, allocations: 0 / 349.7 MB, free: 260 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.977e-05/0.009178, allocations: 57.81 kB / 349.8 MB, free: 200 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.009442, allocations: 46.25 kB / 349.8 MB, free: 156 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.009892, allocations: 322 kB / 350.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.058e-05/0.009943, allocations: 77.08 kB / 350.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.142e-05/0.01, allocations: 25.94 kB / 350.3 MB, free: 15.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.01011, allocations: 106.2 kB / 350.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01012, allocations: 0 / 350.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of Templates: time 0.005136/0.01525, allocations: 2.746 MB / 353.1 MB, free: 12.89 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8814504924230278]