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.001894/0.001894, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.002326/0.002326, allocations: 215.5 kB / 23.48 MB, free: 5.227 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.43/1.43, allocations: 230.5 MB / 257 MB, free: 8.25 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.002129/0.002129, allocations: 75.88 kB / 377.1 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2879, allocations: 53.31 MB / 430.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01173/0.2996, allocations: 9.697 MB / 440.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006113/0.3058, allocations: 3.147 MB / 443.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.3071, allocations: 27.94 kB / 443.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.3092, allocations: 0.6289 MB / 443.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.3113, allocations: 0.5814 MB / 444.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.3124, allocations: 323.5 kB / 444.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002788/0.3152, allocations: 1.762 MB / 446.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009242/0.3161, allocations: 452.9 kB / 447 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.3173, allocations: 0.6771 MB / 447.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.3187, allocations: 0.7428 MB / 448.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004296/0.3191, allocations: 156 kB / 448.6 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007177/0.3198, allocations: 200 kB / 448.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004704/0.3203, allocations: 334.8 kB / 449.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.3216, allocations: 0.8048 MB / 449.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.3245, allocations: 1.988 MB / 451.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3245, allocations: 0 / 451.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3245, allocations: 0 / 451.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.533e-05/0.3245, allocations: 3.938 kB / 451.9 MB, free: 1.637 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.00375/0.3283, allocations: 1.838 MB / 453.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3283, allocations: 8.031 kB / 453.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.3285, allocations: 161 kB / 453.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006131/0.3292, allocations: 211.9 kB / 454.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.3307, allocations: 0.8451 MB / 455 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.3308, allocations: 116.4 kB / 455.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.331, allocations: 111.9 kB / 455.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.333, allocations: 1.139 MB / 456.3 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.333, allocations: 0 / 456.3 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.3331, allocations: 55.98 kB / 456.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.3332, allocations: 28 kB / 456.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.3348, allocations: 0.7535 MB / 457.2 MB, free: 12.16 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.005907/0.3407, allocations: 3.923 MB / 461.1 MB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.3422, allocations: 0.547 MB / 461.6 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.3427, allocations: 246.9 kB / 461.9 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.3427, allocations: 16.55 kB / 461.9 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006456/0.3434, allocations: 299.1 kB / 462.2 MB, free: 6.922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.026e-06/0.3434, allocations: 288 / 462.2 MB, free: 6.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004802/0.3482, allocations: 2.091 MB / 464.3 MB, free: 4.738 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003326/0.3485, allocations: 475.2 kB / 464.7 MB, free: 4.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.3501, allocations: 1.109 MB / 465.8 MB, free: 3.043 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.3502, allocations: 37.7 kB / 465.9 MB, free: 3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000584/0.3507, allocations: 0.6677 MB / 466.5 MB, free: 2.324 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.351, allocations: 242 kB / 466.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.3512, allocations: 194.9 kB / 467 MB, free: 1.891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3514, allocations: 345.9 kB / 467.3 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/0.3519, allocations: 246.5 kB / 467.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009647/0.3529, allocations: 0.7169 MB / 468.3 MB, free: 388 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.3543, allocations: 0.9414 MB / 469.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.3543, allocations: 4 kB / 469.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00206/0.3564, allocations: 1.142 MB / 470.4 MB, free: 14.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.421e-05/0.3564, allocations: 63.94 kB / 470.4 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.3565, allocations: 16 kB / 470.4 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005694/0.357, allocations: 168.4 kB / 470.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.3577, allocations: 207.7 kB / 470.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004601/0.3623, allocations: 3.882 MB / 474.7 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.3633, allocations: 75.95 kB / 474.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.3634, allocations: 44 kB / 474.8 MB, free: 9.359 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.0005332/0.3639, allocations: 293.5 kB / 475.1 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.3641, allocations: 131.2 kB / 475.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.3656, allocations: 0.7037 MB / 475.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3656, allocations: 4 kB / 475.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3656, allocations: 4.125 kB / 475.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001415/0.367, allocations: 0.9529 MB / 476.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003208/0.3702, allocations: 1.782 MB / 478.7 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.3702, allocations: 8.031 kB / 478.7 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.3707, allocations: 103.9 kB / 478.8 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/0.3711, allocations: 129.6 kB / 478.9 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/0.3712, allocations: 16 kB / 478.9 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00383/0.375, allocations: 3.595 MB / 482.5 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.375, allocations: 4.031 kB / 482.5 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.377, allocations: 1.051 MB / 483.6 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005327/0.3775, allocations: 260.2 kB / 483.8 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/0.3777, allocations: 16 kB / 483.8 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006821/0.3784, allocations: 43.95 kB / 483.9 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.3785, allocations: 60.38 kB / 483.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.3786, allocations: 24.11 kB / 484 MB, free: 15.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001314/0.3799, allocations: 0.7484 MB / 484.7 MB, free: 14.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3799, allocations: 0 / 484.7 MB, free: 14.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001305/0.3812, allocations: 304 kB / 485 MB, free: 14.58 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.002531/0.3837, allocations: 1.621 MB / 486.6 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.386, allocations: 1.076 MB / 487.7 MB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.386, allocations: 7.844 kB / 487.7 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009775/0.387, allocations: 0.5363 MB / 488.2 MB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.3885, allocations: 330 kB / 488.6 MB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.4057, allocations: 9.76 MB / 498.3 MB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009628/0.4067, allocations: 1.086 MB / 499.4 MB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000623/0.4073, allocations: 149.8 kB / 499.6 MB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006779/0.408, allocations: 471.3 kB / 0.4883 GB, free: 14.86 MB / 414.1 MB Notification: Performance of SimCode: time 2.385e-06/0.408, allocations: 0 / 0.4883 GB, free: 14.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09932/0.5073, allocations: 29.41 MB / 0.517 GB, free: 1.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/14.88, allocations: 18.47 kB / 0.517 GB, free: 1.801 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.941978172166273] Failed to read output from testmodel.py, exit status != 0: ['time', 'armature.T', 'core.T', 'dcpm.la.i', 'loadInertia.phi', 'loadInertia.w'] 14.992819898063317 15.008387806 14.680637642 Calling exit ...