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.001833/0.001833, allocations: 123.6 kB / 18.45 MB, free: 4.633 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.002402/0.002402, allocations: 205.7 kB / 21.41 MB, free: 1.684 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.445/1.445, allocations: 227.7 MB / 251.9 MB, free: 15.87 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.002465/0.002466, allocations: 71.83 kB / 365.2 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1074, allocations: 50.54 MB / 415.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009881/0.1173, allocations: 8.003 MB / 423.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004637/0.122, allocations: 2.618 MB / 426.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008771/0.123, allocations: 23.94 kB / 426.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.1246, allocations: 0.5519 MB / 427 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.126, allocations: 460.4 kB / 427.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/0.1266, allocations: 239.8 kB / 427.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.1283, allocations: 1.432 MB / 429.1 MB, free: 228 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008335/0.1292, allocations: 0.5847 MB / 429.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008808/0.1301, allocations: 0.5407 MB / 430.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007122/0.1308, allocations: 0.5872 MB / 430.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.131, allocations: 132 kB / 430.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.1313, allocations: 176 kB / 431.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.1316, allocations: 271 kB / 431.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006125/0.1322, allocations: 0.6492 MB / 432 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.1341, allocations: 1.704 MB / 433.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1341, allocations: 0 / 433.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1341, allocations: 0 / 433.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.202e-05/0.1341, allocations: 0 / 433.7 MB, free: 11.55 MB / 366.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.002362/0.1365, allocations: 1.467 MB / 435.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1365, allocations: 12.03 kB / 435.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001791/0.1367, allocations: 148.3 kB / 435.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005473/0.1373, allocations: 176 kB / 435.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.1385, allocations: 0.7343 MB / 436.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.772e-05/0.1385, allocations: 70 kB / 436.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.1387, allocations: 96 kB / 436.4 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.1402, allocations: 0.923 MB / 437.3 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/0.1403, allocations: 11.88 kB / 437.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-05/0.1404, allocations: 44 kB / 437.4 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.1404, allocations: 27.98 kB / 437.4 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.1416, allocations: 0.6207 MB / 438 MB, free: 7.105 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005048/0.1467, allocations: 3.879 MB / 441.9 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.1473, allocations: 358 kB / 442.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.1476, allocations: 148.7 kB / 442.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1477, allocations: 3.938 kB / 442.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.1477, allocations: 46.5 kB / 442.5 MB, free: 2.406 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.485e-06/0.1477, allocations: 0 / 442.5 MB, free: 2.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002361/0.1501, allocations: 1.203 MB / 443.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.1502, allocations: 85.11 kB / 443.7 MB, free: 1.027 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.1513, allocations: 0.8215 MB / 444.6 MB, free: 200 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.1513, allocations: 33.7 kB / 444.6 MB, free: 160 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1891/0.3405, allocations: 0.5695 MB / 445.2 MB, free: 29.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.3406, allocations: 142.7 kB / 445.3 MB, free: 29.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.3408, allocations: 125.4 kB / 445.4 MB, free: 29.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.3409, allocations: 339.4 kB / 445.8 MB, free: 29.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.3413, allocations: 146.1 kB / 445.9 MB, free: 29.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.3417, allocations: 461.6 kB / 446.4 MB, free: 28.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006781/0.3423, allocations: 0.6335 MB / 447 MB, free: 28.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3424, allocations: 2.719 kB / 447 MB, free: 28.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001113/0.3435, allocations: 0.6957 MB / 447.7 MB, free: 28.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.3435, allocations: 8.906 kB / 447.7 MB, free: 28.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.3435, allocations: 13.91 kB / 447.7 MB, free: 28.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.3437, allocations: 35.2 kB / 447.7 MB, free: 28.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.3442, allocations: 157.1 kB / 447.9 MB, free: 28.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007436/0.3449, allocations: 1.383 MB / 449.3 MB, free: 26.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/0.3455, allocations: 44.42 kB / 449.3 MB, free: 26.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.3455, allocations: 28.59 kB / 449.4 MB, free: 26.89 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.000317/0.3458, allocations: 260.1 kB / 449.6 MB, free: 26.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3459, allocations: 91.53 kB / 449.7 MB, free: 26.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006424/0.3466, allocations: 375 kB / 450.1 MB, free: 26.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3466, allocations: 5.062 kB / 450.1 MB, free: 26.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3466, allocations: 3.938 kB / 450.1 MB, free: 26.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3466, allocations: 2.719 kB / 450.1 MB, free: 26.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.3482, allocations: 1.264 MB / 451.3 MB, free: 26.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.3482, allocations: 3.344 kB / 451.3 MB, free: 26.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.3485, allocations: 74.97 kB / 451.4 MB, free: 26.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-05/0.3486, allocations: 20.72 kB / 451.4 MB, free: 26.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.3486, allocations: 8.25 kB / 451.4 MB, free: 26.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005814/0.3492, allocations: 1.379 MB / 452.8 MB, free: 24.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3492, allocations: 2.281 kB / 452.8 MB, free: 24.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009048/0.3501, allocations: 0.6313 MB / 453.5 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.3503, allocations: 191.7 kB / 453.6 MB, free: 24.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.455e-05/0.3504, allocations: 8.781 kB / 453.7 MB, free: 24.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.3508, allocations: 31.45 kB / 453.7 MB, free: 24.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.3509, allocations: 24.83 kB / 453.7 MB, free: 24.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.3509, allocations: 20.28 kB / 453.7 MB, free: 24.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007227/0.3516, allocations: 0.5601 MB / 454.3 MB, free: 24.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3516, allocations: 2.516 kB / 454.3 MB, free: 24.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006644/0.3523, allocations: 187.3 kB / 454.5 MB, free: 24.38 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.001168/0.3535, allocations: 1.193 MB / 455.7 MB, free: 23.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009463/0.3544, allocations: 0.5134 MB / 456.2 MB, free: 23.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3545, allocations: 0.625 kB / 456.2 MB, free: 23.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.3549, allocations: 262.3 kB / 456.4 MB, free: 23.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.3559, allocations: 219.6 kB / 456.6 MB, free: 23.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008964/0.3649, allocations: 7.118 MB / 463.8 MB, free: 20.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.3655, allocations: 0.9899 MB / 464.8 MB, free: 19.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004791/0.3659, allocations: 109 kB / 464.9 MB, free: 19.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/0.3663, allocations: 369 kB / 465.2 MB, free: 19 MB / 366.1 MB Notification: Performance of SimCode: time 1.223e-06/0.3663, allocations: 0 / 465.2 MB, free: 19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05187/0.4182, allocations: 17.93 MB / 483.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.56, allocations: 17.52 kB / 483.2 MB, free: 11.91 MB / 366.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.094346109079197] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcee.airGapDC.psi_e', 'dcee.la.i', 'loadInertia.phi', 'loadInertia.w'] 11.646990948007442 11.655557844 11.519421233 Calling exit ...