Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.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.001626/0.001626, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.00195/0.00195, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.454/1.454, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.84 kB / 378.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2241, allocations: 53.31 MB / 432.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01135/0.2354, allocations: 9.695 MB / 441.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00542/0.2409, allocations: 3.158 MB / 444.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000804/0.2417, allocations: 23.94 kB / 445 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.2432, allocations: 0.6212 MB / 445.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.2445, allocations: 0.5814 MB / 446.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006676/0.2451, allocations: 327.4 kB / 446.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001904/0.247, allocations: 1.759 MB / 448.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006953/0.2477, allocations: 448.9 kB / 448.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008496/0.2486, allocations: 0.681 MB / 449.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009219/0.2495, allocations: 0.7428 MB / 450.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.2497, allocations: 160 kB / 450.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.2501, allocations: 196 kB / 450.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.2503, allocations: 338.8 kB / 450.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007744/0.2511, allocations: 0.801 MB / 451.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.2532, allocations: 1.992 MB / 453.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2533, allocations: 0 / 453.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2533, allocations: 0 / 453.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.2533, allocations: 0 / 453.6 MB, free: 1.75 MB / 350.1 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.003273/0.2565, allocations: 1.842 MB / 455.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.2566, allocations: 8.031 kB / 455.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005887/0.2572, allocations: 199.9 kB / 455.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.2586, allocations: 0.8375 MB / 456.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.2587, allocations: 124.3 kB / 456.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.2589, allocations: 112.1 kB / 456.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.2608, allocations: 1.139 MB / 457.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.2609, allocations: 15.94 kB / 457.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.715e-05/0.261, allocations: 44 kB / 457.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.261, allocations: 24 kB / 457.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.2626, allocations: 0.7574 MB / 458.7 MB, free: 12.45 MB / 366.1 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.00587/0.2685, allocations: 3.923 MB / 462.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.2701, allocations: 0.551 MB / 463.1 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/0.2706, allocations: 242.9 kB / 463.4 MB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/0.2706, allocations: 12.55 kB / 463.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006289/0.2713, allocations: 299.1 kB / 463.7 MB, free: 7.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.865e-06/0.2713, allocations: 0 / 463.7 MB, free: 7.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004914/0.2762, allocations: 2.087 MB / 465.8 MB, free: 5.031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002656/0.2764, allocations: 483.2 kB / 466.2 MB, free: 4.449 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.278, allocations: 1.109 MB / 467.3 MB, free: 3.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.681e-05/0.2781, allocations: 41.7 kB / 467.4 MB, free: 3.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005597/0.2786, allocations: 0.6522 MB / 468 MB, free: 2.621 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.2789, allocations: 249.9 kB / 468.3 MB, free: 2.375 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/0.2791, allocations: 198.9 kB / 468.5 MB, free: 2.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2793, allocations: 341.9 kB / 468.8 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.2799, allocations: 242.5 kB / 469 MB, free: 1.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009692/0.2808, allocations: 0.7169 MB / 469.8 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.2823, allocations: 0.9492 MB / 470.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.2823, allocations: 4 kB / 470.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002248/0.2845, allocations: 1.142 MB / 471.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.222e-05/0.2846, allocations: 63.41 kB / 471.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.2846, allocations: 16.03 kB / 471.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/0.2852, allocations: 165.6 kB / 472.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/0.2859, allocations: 207.6 kB / 472.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004623/0.2905, allocations: 3.887 MB / 476.2 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.2915, allocations: 75.91 kB / 476.3 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-05/0.2916, allocations: 48 kB / 476.3 MB, free: 9.645 MB / 382.1 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.0004983/0.2921, allocations: 289.7 kB / 476.6 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.2923, allocations: 131.2 kB / 476.7 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.2939, allocations: 0.6998 MB / 477.4 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001492/0.2953, allocations: 0.949 MB / 478.4 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2953, allocations: 0 / 478.4 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004541/0.2958, allocations: 256.2 kB / 478.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.296, allocations: 16 kB / 478.6 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/0.2966, allocations: 44.03 kB / 478.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.2967, allocations: 44.44 kB / 478.7 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00197/0.2986, allocations: 0.754 MB / 479.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001757/0.3004, allocations: 1.028 MB / 480.5 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004646/0.3009, allocations: 216.2 kB / 480.7 MB, free: 5.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001089/0.3019, allocations: 0.7523 MB / 481.5 MB, free: 4.289 MB / 382.1 MB Notification: Performance of Backend: time 4.51e-07/0.3019, allocations: 0 / 481.5 MB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002304/0.3042, allocations: 1.019 MB / 482.5 MB, free: 3.215 MB / 382.1 MB Notification: Performance of SimCode: time 0.004385/0.3086, allocations: 2.977 MB / 485.5 MB, free: 196 kB / 382.1 MB Notification: Performance of Templates: time 0.03378/0.3424, allocations: 18.8 MB / 0.4924 GB, free: 13.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.45780621888116] Failed to read output from testmodel.py, exit status != 0: ['time', 'armature.T', 'core.T', 'dcpm.la.i', 'loadInertia.phi', 'loadInertia.w'] 0.3507383530959487 0.364482989 0.10819036099999994 Calling exit ...