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.DCEE_Start.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.001796/0.001796, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.00199/0.00199, allocations: 205 kB / 21.45 MB, free: 1.629 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.441/1.441, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.DCEE_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",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.002027/0.002027, allocations: 67.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1085, allocations: 53.33 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.2172/0.3258, allocations: 8.022 MB / 435 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004353/0.3301, allocations: 2.637 MB / 437.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.3314, allocations: 27.62 kB / 437.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.3331, allocations: 0.5685 MB / 438.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.3347, allocations: 490.8 kB / 438.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.3352, allocations: 245.2 kB / 439 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001839/0.3371, allocations: 1.43 MB / 440.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006424/0.3377, allocations: 404.5 kB / 440.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009816/0.3387, allocations: 0.573 MB / 441.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008/0.3395, allocations: 0.5801 MB / 442 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002263/0.3397, allocations: 136.7 kB / 442.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004865/0.3402, allocations: 172.3 kB / 442.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.3404, allocations: 272.6 kB / 442.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007174/0.3411, allocations: 0.6532 MB / 443.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.3437, allocations: 1.705 MB / 444.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3437, allocations: 0 / 444.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3437, allocations: 0 / 444.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.842e-05/0.3438, allocations: 1.375 kB / 444.9 MB, free: 2.656 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003229/0.347, allocations: 1.46 MB / 446.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.347, allocations: 13.88 kB / 446.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002208/0.3473, allocations: 146.5 kB / 446.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007141/0.348, allocations: 179.8 kB / 446.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.3495, allocations: 0.7294 MB / 447.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.168e-05/0.3495, allocations: 73.36 kB / 447.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.3497, allocations: 99.25 kB / 447.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.3514, allocations: 0.9227 MB / 448.5 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.3514, allocations: 5.047 kB / 448.5 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.638e-05/0.3515, allocations: 41.28 kB / 448.6 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.3515, allocations: 28.86 kB / 448.6 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.3528, allocations: 0.6218 MB / 449.2 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006559/0.3593, allocations: 3.887 MB / 453.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.36, allocations: 337.6 kB / 453.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.3603, allocations: 138.6 kB / 453.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.3604, allocations: 3.5 kB / 453.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.3604, allocations: 41.03 kB / 453.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.846e-06/0.3604, allocations: 0 / 453.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.00304/0.3634, allocations: 1.204 MB / 454.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.3635, allocations: 81.48 kB / 454.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.3649, allocations: 0.8286 MB / 455.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.3649, allocations: 30.95 kB / 455.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000482/0.3654, allocations: 0.5851 MB / 456.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.3656, allocations: 133.4 kB / 456.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.3658, allocations: 130.9 kB / 456.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3659, allocations: 332.1 kB / 456.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.3663, allocations: 148.6 kB / 457.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.3669, allocations: 467.6 kB / 457.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009435/0.3678, allocations: 0.6369 MB / 458.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.3678, allocations: 2.75 kB / 458.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001437/0.3692, allocations: 0.6897 MB / 458.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.3693, allocations: 10.56 kB / 458.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.3693, allocations: 14.12 kB / 458.9 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.3695, allocations: 29.61 kB / 458.9 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.37, allocations: 162.2 kB / 459.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.3713, allocations: 1.388 MB / 460.4 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007683/0.372, allocations: 35.64 kB / 460.5 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.3721, allocations: 32.94 kB / 460.5 MB, free: 8.102 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005106/0.3726, allocations: 260.2 kB / 460.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.3728, allocations: 93.72 kB / 460.9 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008693/0.3737, allocations: 374.2 kB / 461.2 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3737, allocations: 2.719 kB / 461.2 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3737, allocations: 1.938 kB / 461.2 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3737, allocations: 1.641 kB / 461.2 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.3762, allocations: 1.262 MB / 462.5 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.3762, allocations: 6.672 kB / 462.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.3766, allocations: 82.39 kB / 462.6 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.3767, allocations: 20.27 kB / 462.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.3767, allocations: 13.11 kB / 462.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.3778, allocations: 1.367 MB / 464 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.3778, allocations: 6.219 kB / 464 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.3791, allocations: 0.6405 MB / 464.6 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/0.3795, allocations: 188.9 kB / 464.8 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.3797, allocations: 16.36 kB / 464.8 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.3801, allocations: 24.77 kB / 464.8 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.3802, allocations: 23.66 kB / 464.9 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.3802, allocations: 8.781 kB / 464.9 MB, free: 4.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000881/0.3811, allocations: 0.5652 MB / 465.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3811, allocations: 0 / 465.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009319/0.382, allocations: 190.7 kB / 465.6 MB, free: 4.285 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001578/0.3836, allocations: 1.199 MB / 466.8 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.3847, allocations: 0.4934 MB / 467.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3847, allocations: 1.469 kB / 467.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004433/0.3852, allocations: 258.3 kB / 467.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.3863, allocations: 213.2 kB / 467.8 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.398, allocations: 7.129 MB / 474.9 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/0.3987, allocations: 0.9991 MB / 475.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004489/0.3992, allocations: 104 kB / 476 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000493/0.3997, allocations: 370.4 kB / 476.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3997, allocations: 0 / 476.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05754/0.4572, allocations: 18.07 MB / 494.4 MB, free: 12.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.82, allocations: 10.25 kB / 494.4 MB, free: 12.14 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.340426466893405] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcee.airGapDC.psi_e', 'dcee.la.i', 'loadInertia.phi', 'loadInertia.w'] 11.91406209114939 11.933956422 11.586331352 Calling exit ...