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.00107/0.00107, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004499/0.00557, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009507/0.0009507, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003801/0.004752, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.045/1.045, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1271/1.172, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.03766/0.03766, allocations: 8.613 MB / 252.6 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005847/0.04351, allocations: 3.133 MB / 255.7 MB, free: 3.594 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 2.284e-06/2.284e-06, allocations: 0 / 257 MB, free: 2.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.716e-05, allocations: 2.312 kB / 257 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.00194/0.001957, allocations: 1.735 MB / 258.7 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005161/0.002473, allocations: 358.6 kB / 259 MB, free: 244 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.919e-05/0.002532, allocations: 0 / 259 MB, free: 244 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.002566, allocations: 11.81 kB / 259.1 MB, free: 232 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7e-05/0.002636, allocations: 31.67 kB / 259.1 MB, free: 200 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.002852, allocations: 115.7 kB / 259.2 MB, free: 84 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.003023, allocations: 155.5 kB / 259.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.003127, allocations: 22.44 kB / 259.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.003249, allocations: 116.4 kB / 259.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.789e-05/0.003337, allocations: 59.72 kB / 259.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.003368, allocations: 16 kB / 259.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.003493, allocations: 83.92 kB / 259.6 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.003523, allocations: 31.88 kB / 259.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.003561, allocations: 31.94 kB / 259.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.003748, allocations: 155.5 kB / 259.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.003761, allocations: 0 / 259.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003762, allocations: 0 / 259.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.003774, allocations: 0 / 259.9 MB, free: 15.42 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005192/0.004293, allocations: 419.7 kB / 260.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.004333, allocations: 8.031 kB / 260.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.004375, allocations: 20.91 kB / 260.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.004538, allocations: 162.9 kB / 260.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.004548, allocations: 12.56 kB / 260.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.004575, allocations: 24.3 kB / 260.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.004782, allocations: 254.4 kB / 260.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.004793, allocations: 4 kB / 260.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.004806, allocations: 7.984 kB / 260.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.004811, allocations: 0 / 260.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.729e-05/0.004858, allocations: 31.16 kB / 260.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.00526, allocations: 267.9 kB / 261 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.005375, allocations: 74.53 kB / 261.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.005418, allocations: 32.75 kB / 261.1 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.005429, allocations: 4 kB / 261.1 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.005559, allocations: 115.2 kB / 261.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.005561, allocations: 0 / 261.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001847/0.005746, allocations: 128.5 kB / 261.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.005789, allocations: 63.39 kB / 261.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.005891, allocations: 182.5 kB / 261.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.005915, allocations: 49.69 kB / 261.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.005972, allocations: 112.5 kB / 261.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.00601, allocations: 63.45 kB / 261.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.006059, allocations: 49.69 kB / 261.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.006157, allocations: 334.8 kB / 262.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.006184, allocations: 24.2 kB / 262.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.006323, allocations: 243.9 kB / 262.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.006465, allocations: 166.9 kB / 262.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.006468, allocations: 0 / 262.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001496/0.006617, allocations: 169.2 kB / 262.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.006632, allocations: 11.28 kB / 262.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.006639, allocations: 0 / 262.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.00665, allocations: 11.94 kB / 262.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.006862, allocations: 68.27 kB / 262.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.006868, allocations: 8 kB / 262.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.006922, allocations: 23.89 kB / 262.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.006931, allocations: 11.94 kB / 262.9 MB, free: 12.02 MB / 266.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.000117/0.007048, allocations: 147.6 kB / 263.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.007069, allocations: 23.98 kB / 263.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.007104, allocations: 25.73 kB / 263.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.007106, allocations: 0 / 263.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.007108, allocations: 0 / 263.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.007112, allocations: 4 kB / 263.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.007398, allocations: 290.6 kB / 263.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007399, allocations: 0 / 263.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.007544, allocations: 39.89 kB / 263.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/0.007566, allocations: 19.78 kB / 263.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.007568, allocations: 0 / 263.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.007582, allocations: 11.98 kB / 263.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.007585, allocations: 4 kB / 263.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.007587, allocations: 0 / 263.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.007823, allocations: 235.3 kB / 263.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.007851, allocations: 16.02 kB / 263.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.007927, allocations: 4 kB / 263.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.007965, allocations: 15.97 kB / 263.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.007974, allocations: 4 kB / 263.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.765e-05/0.008032, allocations: 61.56 kB / 263.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008032, allocations: 3.938 kB / 263.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002748/0.008307, allocations: 51.92 kB / 263.9 MB, free: 11.03 MB / 266.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.0001628/0.00847, allocations: 124.4 kB / 264 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.008612, allocations: 120.1 kB / 264.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.008622, allocations: 4 kB / 264.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.156e-05/0.008684, allocations: 52.75 kB / 264.2 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.008863, allocations: 55.88 kB / 264.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/0.009499, allocations: 320.3 kB / 264.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.971e-05/0.009559, allocations: 77.08 kB / 264.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.943e-05/0.009628, allocations: 21.95 kB / 264.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.693e-05/0.009725, allocations: 91.34 kB / 264.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009726, allocations: 0 / 264.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of Templates: time 0.004463/0.01419, allocations: 2.837 MB / 267.6 MB, free: 7.348 MB / 266.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.985315696336329]