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.001572/0.001572, allocations: 119.7 kB / 18.5 MB, free: 4.539 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.001626/0.001626, allocations: 213.6 kB / 21.46 MB, free: 1.586 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.482/1.482, allocations: 230.5 MB / 254.7 MB, free: 15 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.001886/0.001886, allocations: 76.06 kB / 373.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1142, allocations: 53.31 MB / 426.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.2544/0.3687, allocations: 9.654 MB / 436.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005551/0.3742, allocations: 3.15 MB / 439.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.3759, allocations: 25.91 kB / 439.7 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.3778, allocations: 0.6159 MB / 440.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.3799, allocations: 0.5834 MB / 440.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009164/0.3809, allocations: 325 kB / 441.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.3833, allocations: 1.759 MB / 443 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007273/0.384, allocations: 451.7 kB / 443.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.3852, allocations: 0.6781 MB / 444.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008497/0.386, allocations: 0.744 MB / 444.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.3862, allocations: 161.9 kB / 445 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005367/0.3868, allocations: 196.1 kB / 445.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.387, allocations: 337.7 kB / 445.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007014/0.3877, allocations: 0.8017 MB / 446.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002419/0.3901, allocations: 1.986 MB / 448.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3901, allocations: 0 / 448.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3901, allocations: 1.438 kB / 448.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.9e-05/0.3902, allocations: 0 / 448.3 MB, free: 0.5273 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.003871/0.394, allocations: 1.843 MB / 450.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3941, allocations: 11.06 kB / 450.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002281/0.3943, allocations: 163.5 kB / 450.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006858/0.395, allocations: 206.7 kB / 450.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.3967, allocations: 0.839 MB / 451.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.3969, allocations: 115.1 kB / 451.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.397, allocations: 117.1 kB / 451.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.3991, allocations: 1.141 MB / 452.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.811e-05/0.3991, allocations: 5.688 kB / 452.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.3992, allocations: 48.7 kB / 452.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.3993, allocations: 26.84 kB / 452.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.4008, allocations: 0.7595 MB / 453.6 MB, free: 13.49 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.006684/0.4075, allocations: 3.92 MB / 457.5 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.409, allocations: 0.5579 MB / 458.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004992/0.4095, allocations: 236.3 kB / 458.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.4096, allocations: 12.48 kB / 458.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006648/0.4102, allocations: 294.6 kB / 458.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.495e-06/0.4102, allocations: 0 / 458.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005354/0.4156, allocations: 2.097 MB / 460.7 MB, free: 9.027 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000288/0.4159, allocations: 476.5 kB / 461.2 MB, free: 8.461 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.4176, allocations: 1.107 MB / 462.3 MB, free: 7.844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.065e-05/0.4176, allocations: 38.83 kB / 462.3 MB, free: 7.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006478/0.4183, allocations: 0.6594 MB / 463 MB, free: 7.215 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.4185, allocations: 247.1 kB / 463.2 MB, free: 7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.4188, allocations: 192.1 kB / 463.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.419, allocations: 342.1 kB / 463.7 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/0.4195, allocations: 248.3 kB / 464 MB, free: 6.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009818/0.4205, allocations: 0.7135 MB / 464.7 MB, free: 5.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.422, allocations: 0.9451 MB / 465.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.422, allocations: 3.219 kB / 465.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002268/0.4242, allocations: 1.143 MB / 466.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.788e-05/0.4243, allocations: 62.34 kB / 466.8 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.4243, allocations: 12.09 kB / 466.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/0.4249, allocations: 177.9 kB / 467 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.4256, allocations: 204.8 kB / 467.2 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004621/0.4302, allocations: 3.889 MB / 471.1 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.4315, allocations: 76.27 kB / 471.2 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.455e-05/0.4316, allocations: 45.25 kB / 471.2 MB, free: 432 kB / 366.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.0005663/0.4322, allocations: 288.8 kB / 471.5 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.4324, allocations: 136 kB / 471.7 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.4339, allocations: 0.6973 MB / 472.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.4339, allocations: 6.719 kB / 472.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4339, allocations: 1.25 kB / 472.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001407/0.4353, allocations: 0.9574 MB / 473.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/0.4384, allocations: 1.78 MB / 475.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4384, allocations: 2.625 kB / 475.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.4389, allocations: 109 kB / 475.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004066/0.4393, allocations: 123.6 kB / 475.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.4393, allocations: 17.25 kB / 475.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003627/0.443, allocations: 3.59 MB / 478.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.443, allocations: 5.719 kB / 478.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.4449, allocations: 1.054 MB / 480 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006195/0.4456, allocations: 258.8 kB / 480.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.4457, allocations: 19.38 kB / 480.3 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/0.4463, allocations: 41.61 kB / 480.3 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.4465, allocations: 56.78 kB / 480.4 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.4465, allocations: 25.89 kB / 480.4 MB, free: 9.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001104/0.4476, allocations: 0.7425 MB / 481.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4476, allocations: 1.375 kB / 481.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001261/0.4489, allocations: 314.4 kB / 481.4 MB, free: 8.609 MB / 382.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.002302/0.4512, allocations: 1.625 MB / 483.1 MB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002193/0.4534, allocations: 1.061 MB / 484.1 MB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.4534, allocations: 3.906 kB / 484.1 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009941/0.4544, allocations: 0.5413 MB / 484.7 MB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.456, allocations: 339.7 kB / 485 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/0.4722, allocations: 9.752 MB / 494.8 MB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008653/0.4731, allocations: 1.082 MB / 495.8 MB, free: 9.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006924/0.4738, allocations: 157.8 kB / 496 MB, free: 9.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/0.4744, allocations: 471.3 kB / 496.4 MB, free: 8.918 MB / 398.1 MB Notification: Performance of SimCode: time 1.402e-06/0.4744, allocations: 0 / 496.4 MB, free: 8.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0763/0.5507, allocations: 29.33 MB / 0.5135 GB, free: 12.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/14.68, allocations: 13.42 kB / 0.5135 GB, free: 12.01 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: 17.77430341159925] Failed to read output from testmodel.py, exit status != 0: ['time', 'armature.T', 'core.T', 'dcpm.la.i', 'loadInertia.phi', 'loadInertia.w'] 14.794024871196598 14.816274836 14.421839256 Calling exit ...