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.001728/0.001728, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002167/0.002167, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.553/1.553, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.002195/0.002195, allocations: 68.55 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3175, allocations: 53.36 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01063/0.3282, allocations: 8.064 MB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005124/0.3333, allocations: 2.645 MB / 442.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009273/0.3342, allocations: 31.88 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.3358, allocations: 0.5676 MB / 443.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.3369, allocations: 496.4 kB / 443.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.3374, allocations: 239.7 kB / 444 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.339, allocations: 1.428 MB / 445.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006648/0.3397, allocations: 407.3 kB / 445.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008652/0.3406, allocations: 0.572 MB / 446.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007373/0.3413, allocations: 0.5833 MB / 446.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.3415, allocations: 139.9 kB / 447.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.3418, allocations: 172 kB / 447.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.342, allocations: 271 kB / 447.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006137/0.3426, allocations: 0.6493 MB / 448.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.3447, allocations: 1.704 MB / 449.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3447, allocations: 0 / 449.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3447, allocations: 0 / 449.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.3447, allocations: 0 / 449.9 MB, free: 4.82 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.002444/0.3471, allocations: 1.388 MB / 451.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.3472, allocations: 12.02 kB / 451.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/0.3474, allocations: 144.3 kB / 451.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005683/0.3479, allocations: 176.1 kB / 451.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.3492, allocations: 0.6687 MB / 452.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.786e-05/0.3493, allocations: 70 kB / 452.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.3494, allocations: 96 kB / 452.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.351, allocations: 0.919 MB / 453.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.3511, allocations: 11.95 kB / 453.3 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-05/0.3511, allocations: 40 kB / 453.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.3512, allocations: 24 kB / 453.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.3525, allocations: 0.6285 MB / 454 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005414/0.3579, allocations: 3.772 MB / 457.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.3585, allocations: 266.5 kB / 458.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.3587, allocations: 132.8 kB / 458.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.3588, allocations: 4 kB / 458.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3588, allocations: 38.5 kB / 458.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.994e-06/0.3588, allocations: 4 kB / 458.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002371/0.3612, allocations: 1.051 MB / 459.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/0.3613, allocations: 85.11 kB / 459.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.3625, allocations: 0.8253 MB / 460.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.3625, allocations: 29.7 kB / 460.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/0.363, allocations: 0.5851 MB / 460.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.3631, allocations: 130.9 kB / 460.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.3633, allocations: 130.6 kB / 461.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3635, allocations: 333.9 kB / 461.4 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.3638, allocations: 153.9 kB / 461.5 MB, free: 8.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.3644, allocations: 448 kB / 462 MB, free: 8.125 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/0.3653, allocations: 0.6435 MB / 462.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.3653, allocations: 4 kB / 462.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001265/0.3666, allocations: 0.6926 MB / 463.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.3666, allocations: 14.97 kB / 463.3 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.3666, allocations: 11.94 kB / 463.3 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.3668, allocations: 41.25 kB / 463.4 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.3673, allocations: 159.7 kB / 463.5 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.3686, allocations: 1.295 MB / 464.8 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.3691, allocations: 31.98 kB / 464.9 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.3692, allocations: 32 kB / 464.9 MB, free: 4.941 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.0004758/0.3697, allocations: 253.9 kB / 465.1 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.3698, allocations: 95.44 kB / 465.2 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008061/0.3706, allocations: 382.3 kB / 465.6 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3706, allocations: 4 kB / 465.6 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3706, allocations: 0 / 465.6 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3706, allocations: 0 / 465.6 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.3726, allocations: 1.238 MB / 466.9 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3726, allocations: 7.938 kB / 466.9 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.3729, allocations: 76.11 kB / 466.9 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.794e-05/0.373, allocations: 20.84 kB / 467 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.3731, allocations: 8.047 kB / 467 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.3741, allocations: 1.275 MB / 468.2 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3741, allocations: 0 / 468.2 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.3752, allocations: 0.6363 MB / 468.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.3755, allocations: 111.4 kB / 469 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.3756, allocations: 11.98 kB / 469 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.3759, allocations: 27.92 kB / 469 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.376, allocations: 27.89 kB / 469.1 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.376, allocations: 16 kB / 469.1 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008228/0.3769, allocations: 0.5576 MB / 469.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3769, allocations: 0 / 469.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007163/0.3776, allocations: 192 kB / 469.8 MB, free: 15.77 MB / 382.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.00147/0.379, allocations: 1.209 MB / 471 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3801, allocations: 492.5 kB / 471.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3801, allocations: 0 / 471.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.3805, allocations: 267.2 kB / 471.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3815, allocations: 208.6 kB / 472 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.3926, allocations: 7.127 MB / 479.1 MB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/0.3934, allocations: 0.9962 MB / 480.1 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004366/0.3938, allocations: 106.8 kB / 480.2 MB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004833/0.3943, allocations: 371.3 kB / 480.6 MB, free: 4.473 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3943, allocations: 0 / 480.6 MB, free: 4.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05926/0.4536, allocations: 18.44 MB / 499 MB, free: 2.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.98, allocations: 3.938 kB / 499 MB, free: 2.262 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.713047762867063] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcee.airGapDC.psi_e', 'dcee.la.i', 'loadInertia.phi', 'loadInertia.w'] 12.083545750938356 12.10621615 11.757173101 Calling exit ...