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.001911/0.001911, allocations: 109 kB / 21.23 MB, free: 0.5117 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.00175/0.00175, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 8.234 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) [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.001942/0.001942, allocations: 72.77 kB / 378.6 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2772, allocations: 53.36 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01241/0.2896, allocations: 9.696 MB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00625/0.2959, allocations: 3.154 MB / 444.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.297, allocations: 31.88 kB / 444.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.2987, allocations: 0.6223 MB / 445.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.3003, allocations: 0.5776 MB / 446 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007321/0.301, allocations: 327.4 kB / 446.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00229/0.3033, allocations: 1.771 MB / 448.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008044/0.3041, allocations: 453.3 kB / 448.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.3053, allocations: 0.6928 MB / 449.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.3063, allocations: 0.7428 MB / 450 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.3066, allocations: 160 kB / 450.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.307, allocations: 200 kB / 450.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.3073, allocations: 338.8 kB / 450.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000865/0.3082, allocations: 0.8009 MB / 451.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.3106, allocations: 1.992 MB / 453.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3106, allocations: 0 / 453.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3106, allocations: 0 / 453.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.059e-05/0.3106, allocations: 0 / 453.5 MB, free: 1.277 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.003442/0.3141, allocations: 1.763 MB / 455.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.3141, allocations: 12.03 kB / 455.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002115/0.3143, allocations: 164.9 kB / 455.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006025/0.315, allocations: 203.9 kB / 455.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.3166, allocations: 0.7679 MB / 456.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.3167, allocations: 171.8 kB / 456.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.3169, allocations: 111.9 kB / 456.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.3189, allocations: 1.139 MB / 457.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.3189, allocations: 4 kB / 457.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.954e-05/0.319, allocations: 48 kB / 457.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.3191, allocations: 28 kB / 457.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.3207, allocations: 0.7574 MB / 458.6 MB, free: 11.92 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.006885/0.3276, allocations: 3.817 MB / 462.4 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.3292, allocations: 0.5457 MB / 463 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.3297, allocations: 246.7 kB / 463.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.382e-05/0.3298, allocations: 8.5 kB / 463.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006982/0.3305, allocations: 306.6 kB / 463.5 MB, free: 6.789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.446e-06/0.3305, allocations: 0 / 463.5 MB, free: 6.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004884/0.3354, allocations: 1.861 MB / 465.4 MB, free: 4.895 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002781/0.3356, allocations: 479.3 kB / 465.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.3374, allocations: 1.109 MB / 467 MB, free: 3.195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.435e-05/0.3375, allocations: 41.7 kB / 467 MB, free: 3.148 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006212/0.3381, allocations: 0.6521 MB / 467.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.3384, allocations: 250 kB / 467.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.3387, allocations: 190.9 kB / 468.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3389, allocations: 341.9 kB / 468.4 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005985/0.3395, allocations: 246.5 kB / 468.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.3405, allocations: 0.7134 MB / 469.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.3421, allocations: 0.9528 MB / 470.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.3421, allocations: 8 kB / 470.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002402/0.3445, allocations: 1.138 MB / 471.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.228e-05/0.3445, allocations: 63.89 kB / 471.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.3446, allocations: 16 kB / 471.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006401/0.3452, allocations: 168.7 kB / 471.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/0.346, allocations: 203.7 kB / 471.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004922/0.3509, allocations: 3.692 MB / 475.6 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.3521, allocations: 72.03 kB / 475.7 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.3522, allocations: 44 kB / 475.7 MB, free: 9.766 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.0006646/0.3529, allocations: 297.6 kB / 476 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.3532, allocations: 127.2 kB / 476.1 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.3549, allocations: 0.6983 MB / 476.8 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.3549, allocations: 4 kB / 476.8 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3549, allocations: 0 / 476.8 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001532/0.3565, allocations: 0.959 MB / 477.8 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003645/0.3601, allocations: 1.752 MB / 479.6 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.3601, allocations: 4.219 kB / 479.6 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.3606, allocations: 112 kB / 479.7 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004862/0.3611, allocations: 128.9 kB / 479.8 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.3612, allocations: 19.98 kB / 479.8 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004186/0.3654, allocations: 3.381 MB / 483.2 MB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3654, allocations: 0 / 483.2 MB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.3677, allocations: 1.053 MB / 484.2 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006576/0.3684, allocations: 179.2 kB / 484.4 MB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.3687, allocations: 16 kB / 484.4 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008174/0.3695, allocations: 47.89 kB / 484.5 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.3697, allocations: 60.34 kB / 484.5 MB, free: 472 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.3697, allocations: 19.98 kB / 484.6 MB, free: 452 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001435/0.3712, allocations: 0.7445 MB / 485.3 MB, free: 15.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3712, allocations: 0 / 485.3 MB, free: 15.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001347/0.3725, allocations: 304 kB / 485.6 MB, free: 15.39 MB / 398.1 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.002763/0.3753, allocations: 1.643 MB / 487.2 MB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002405/0.3777, allocations: 1.069 MB / 488.3 MB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.3777, allocations: 3.938 kB / 488.3 MB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.3788, allocations: 0.5319 MB / 488.9 MB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.3807, allocations: 332.7 kB / 489.2 MB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/0.3996, allocations: 9.762 MB / 498.9 MB, free: 1.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.4006, allocations: 1.085 MB / 0.4883 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006943/0.4013, allocations: 145.8 kB / 0.4884 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007383/0.402, allocations: 471.4 kB / 0.4889 GB, free: 15.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.433e-06/0.402, allocations: 0 / 0.4889 GB, free: 15.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08743/0.4895, allocations: 30.02 MB / 0.5182 GB, free: 2.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.13, allocations: 4 kB / 0.5182 GB, free: 2.016 MB / 430.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=25 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.33374929986894] Failed to read output from testmodel.py, exit status != 0: ['time', 'armature.T', 'core.T', 'dcpm.la.i', 'loadInertia.phi', 'loadInertia.w'] 15.25280791008845 15.278068411 14.963790014 Calling exit ...