Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008042/0.0008042, allocations: 88.28 kB / 21.44 MB, free: 3.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009475/0.0009475, allocations: 153.4 kB / 24.69 MB, free: 8.867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.02/1.02, allocations: 177 MB / 204.9 MB, free: 5.688 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2802/0.2802, allocations: 34.86 MB / 296.2 MB, free: 496 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5750,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5750,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 443.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.717e-05, allocations: 4.953 kB / 443.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.1841/0.1841, allocations: 8.537 MB / 452.2 MB, free: 38.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.1866, allocations: 2.947 MB / 455.2 MB, free: 36.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/0.187, allocations: 34.28 kB / 455.2 MB, free: 36.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.1879, allocations: 0.5704 MB / 455.8 MB, free: 36.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005908/0.1885, allocations: 0.6085 MB / 456.4 MB, free: 36.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.1888, allocations: 322.7 kB / 456.7 MB, free: 35.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008334/0.1896, allocations: 1.833 MB / 458.5 MB, free: 34.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.19, allocations: 428.5 kB / 458.9 MB, free: 34.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00065/0.1906, allocations: 1.047 MB / 460 MB, free: 34.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003985/0.191, allocations: 0.5305 MB / 460.5 MB, free: 33.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.1912, allocations: 159.3 kB / 460.7 MB, free: 33.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.1914, allocations: 199.2 kB / 460.9 MB, free: 33.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1915, allocations: 342.4 kB / 461.2 MB, free: 33.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.1918, allocations: 0.5654 MB / 461.8 MB, free: 33.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.1928, allocations: 2 MB / 463.8 MB, free: 32.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1928, allocations: 0 / 463.8 MB, free: 32.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1928, allocations: 0 / 463.8 MB, free: 32.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.1928, allocations: 0 / 463.8 MB, free: 32.73 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001598/0.1944, allocations: 1.756 MB / 465.5 MB, free: 31.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1945, allocations: 12.45 kB / 465.5 MB, free: 31.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002959/0.1948, allocations: 205.4 kB / 465.7 MB, free: 31.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007611/0.1955, allocations: 0.7639 MB / 466.5 MB, free: 31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.78e-05/0.1956, allocations: 162.8 kB / 466.7 MB, free: 30.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-05/0.1957, allocations: 121.3 kB / 466.8 MB, free: 30.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.1968, allocations: 1.57 MB / 468.3 MB, free: 29.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.1968, allocations: 7.875 kB / 468.3 MB, free: 29.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.488e-05/0.1968, allocations: 51.53 kB / 468.4 MB, free: 29.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.1969, allocations: 25.44 kB / 468.4 MB, free: 29.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008593/0.1977, allocations: 0.75 MB / 469.2 MB, free: 29.38 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/0.2004, allocations: 3.198 MB / 472.4 MB, free: 27.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/0.2013, allocations: 0.545 MB / 472.9 MB, free: 27.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.2015, allocations: 249 kB / 473.2 MB, free: 27.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.2016, allocations: 6.469 kB / 473.2 MB, free: 27.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.2019, allocations: 319.2 kB / 473.5 MB, free: 26.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 2.515e-06/0.2019, allocations: 2.766 kB / 473.5 MB, free: 26.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.002302/0.2042, allocations: 1.851 MB / 475.3 MB, free: 25.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.2043, allocations: 476.3 kB / 475.8 MB, free: 25.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00067/0.2049, allocations: 0.9679 MB / 476.8 MB, free: 24.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.205, allocations: 39.73 kB / 476.8 MB, free: 24.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.2052, allocations: 0.6707 MB / 477.5 MB, free: 24.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.194e-05/0.2053, allocations: 241.6 kB / 477.7 MB, free: 24.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.2054, allocations: 202.5 kB / 477.9 MB, free: 24.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.171e-05/0.2055, allocations: 344.8 kB / 478.2 MB, free: 23.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.2058, allocations: 300.8 kB / 478.5 MB, free: 23.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.2062, allocations: 1.171 MB / 479.7 MB, free: 22.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006781/0.2069, allocations: 0.9371 MB / 480.6 MB, free: 21.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2069, allocations: 3 kB / 480.6 MB, free: 21.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001078/0.208, allocations: 1.183 MB / 481.8 MB, free: 21.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.208, allocations: 66.84 kB / 481.9 MB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.208, allocations: 12.31 kB / 481.9 MB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.2083, allocations: 174.5 kB / 482.1 MB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.2087, allocations: 204.2 kB / 482.3 MB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.2108, allocations: 3.593 MB / 485.9 MB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.2111, allocations: 62.59 kB / 485.9 MB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.2112, allocations: 45.31 kB / 486 MB, free: 17.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002427/0.2114, allocations: 297.9 kB / 486.3 MB, free: 17.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.2115, allocations: 120.9 kB / 486.4 MB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007713/0.2123, allocations: 0.6891 MB / 487.1 MB, free: 17.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2123, allocations: 6.562 kB / 487.1 MB, free: 17.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2123, allocations: 3.469 kB / 487.1 MB, free: 17.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006676/0.2129, allocations: 0.9503 MB / 488 MB, free: 16.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.2145, allocations: 1.51 MB / 489.5 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2145, allocations: 4.984 kB / 489.5 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.2148, allocations: 108.5 kB / 489.7 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002377/0.215, allocations: 135.6 kB / 489.8 MB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.215, allocations: 16.91 kB / 489.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.2167, allocations: 3.304 MB / 493.1 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2167, allocations: 5.375 kB / 493.1 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.2178, allocations: 1.038 MB / 494.1 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.218, allocations: 159.3 kB / 494.3 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.942e-05/0.2181, allocations: 19.34 kB / 494.3 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.2184, allocations: 36.41 kB / 494.4 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.733e-05/0.2185, allocations: 61.23 kB / 494.4 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.2185, allocations: 17.41 kB / 494.4 MB, free: 11.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005631/0.219, allocations: 0.6446 MB / 495.1 MB, free: 11.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.219, allocations: 0 / 495.1 MB, free: 11.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006852/0.2197, allocations: 301.9 kB / 495.4 MB, free: 11.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000189/0.2199, allocations: 131.2 kB / 495.5 MB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.2211, allocations: 1.128 MB / 496.6 MB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2211, allocations: 1.594 kB / 496.6 MB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004787/0.2216, allocations: 0.528 MB / 497.2 MB, free: 10.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.2223, allocations: 283 kB / 497.4 MB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.2245, allocations: 2.119 MB / 499.6 MB, free: 9.207 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.2249, allocations: 0.4963 MB / 0.4883 GB, free: 9.066 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.225, allocations: 77.8 kB / 0.4884 GB, free: 9.059 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.225, allocations: 0 / 0.4884 GB, free: 9.059 MB / 410.7 MB Notification: Performance of Templates: time 0.0211/0.2461, allocations: 26.02 MB / 0.5138 GB, free: 11.62 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.971223367843777]