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.DCSE_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.001258/0.001258, 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.001656/0.001656, allocations: 213.2 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.DCSE_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_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.001954/0.001954, allocations: 68.75 kB / 378.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3039, allocations: 53.38 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.0108/0.3147, allocations: 8.168 MB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005166/0.3199, allocations: 2.684 MB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.3212, allocations: 27.88 kB / 442.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.3232, allocations: 0.5676 MB / 443.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.325, allocations: 0.4964 MB / 443.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.3256, allocations: 251.7 kB / 444.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001987/0.3276, allocations: 1.479 MB / 445.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007355/0.3283, allocations: 399.3 kB / 446 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009693/0.3293, allocations: 0.5836 MB / 446.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007673/0.3301, allocations: 0.595 MB / 447.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.3302, allocations: 140 kB / 447.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.3306, allocations: 176 kB / 447.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.3308, allocations: 286.9 kB / 447.8 MB, free: 7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006202/0.3314, allocations: 0.6571 MB / 448.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.3335, allocations: 1.732 MB / 450.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3335, allocations: 4 kB / 450.2 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.3335, allocations: 4 kB / 450.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.3335, allocations: 0 / 450.2 MB, free: 4.598 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00254/0.3361, allocations: 1.403 MB / 451.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.3361, allocations: 8.031 kB / 451.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/0.3363, allocations: 148.4 kB / 451.7 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006596/0.3369, allocations: 200 kB / 451.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.3383, allocations: 0.6688 MB / 452.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/0.3383, allocations: 74 kB / 452.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.3385, allocations: 103.9 kB / 452.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.3401, allocations: 0.9346 MB / 453.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.3401, allocations: 0 / 453.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.321e-05/0.3402, allocations: 44 kB / 453.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.3402, allocations: 27.94 kB / 453.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.3415, allocations: 0.6286 MB / 454.4 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005343/0.3468, allocations: 3.79 MB / 458.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.3476, allocations: 341 kB / 458.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005971/0.3481, allocations: 257.3 kB / 458.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.3482, allocations: 4.328 kB / 458.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.3482, allocations: 42.83 kB / 458.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.254e-06/0.3482, allocations: 0 / 458.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002737/0.351, allocations: 1.26 MB / 460.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.351, allocations: 85.11 kB / 460.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.3522, allocations: 0.8215 MB / 461 MB, free: 9.387 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.3522, allocations: 33.7 kB / 461 MB, free: 9.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.3527, allocations: 0.5696 MB / 461.6 MB, free: 8.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.3528, allocations: 170.6 kB / 461.7 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.353, allocations: 134.6 kB / 461.9 MB, free: 8.465 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3532, allocations: 333.9 kB / 462.2 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.3535, allocations: 165.9 kB / 462.4 MB, free: 7.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.3541, allocations: 463.9 kB / 462.8 MB, free: 7.383 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.3552, allocations: 0.6622 MB / 463.5 MB, free: 6.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.3552, allocations: 4 kB / 463.5 MB, free: 6.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001401/0.3566, allocations: 0.7671 MB / 464.2 MB, free: 5.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.3566, allocations: 8 kB / 464.3 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.3566, allocations: 12 kB / 464.3 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002952/0.3569, allocations: 85.86 kB / 464.3 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.3574, allocations: 151.7 kB / 464.5 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.3602, allocations: 2.935 MB / 467.4 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006456/0.3609, allocations: 40 kB / 467.5 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.3609, allocations: 32 kB / 467.5 MB, free: 2.312 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 82 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004772/0.3614, allocations: 261.5 kB / 467.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.3615, allocations: 87.44 kB / 467.8 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009815/0.3625, allocations: 0.4916 MB / 468.3 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3625, allocations: 4 kB / 468.3 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3625, allocations: 0 / 468.3 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3625, allocations: 0 / 468.3 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.3647, allocations: 1.415 MB / 469.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3648, allocations: 4 kB / 469.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.3651, allocations: 71.89 kB / 469.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002069/0.3653, allocations: 65.69 kB / 469.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.3653, allocations: 16.02 kB / 469.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.3679, allocations: 2.916 MB / 472.8 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3679, allocations: 4.031 kB / 472.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.3692, allocations: 0.7745 MB / 473.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.3695, allocations: 123.4 kB / 473.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.614e-05/0.3696, allocations: 15.94 kB / 473.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.37, allocations: 23.97 kB / 473.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.3701, allocations: 43.88 kB / 473.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3702, allocations: 12 kB / 473.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008453/0.371, allocations: 0.5654 MB / 474.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.371, allocations: 0 / 474.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008197/0.3718, allocations: 200 kB / 474.6 MB, free: 10.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(1,5,100.0%), (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.00167/0.3735, allocations: 1.342 MB / 475.9 MB, free: 9.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.3748, allocations: 0.6707 MB / 476.6 MB, free: 8.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.3748, allocations: 4 kB / 476.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000674/0.3754, allocations: 429 kB / 477 MB, free: 8.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.3764, allocations: 232 kB / 477.2 MB, free: 8.102 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.3873, allocations: 7.33 MB / 484.6 MB, free: 344 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/0.388, allocations: 1.005 MB / 485.6 MB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004123/0.3884, allocations: 107.2 kB / 485.7 MB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/0.3889, allocations: 371.3 kB / 486 MB, free: 14.83 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3889, allocations: 0 / 486 MB, free: 14.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05881/0.4477, allocations: 19.66 MB / 0.4939 GB, free: 11.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.13, allocations: 2.922 kB / 0.4939 GB, free: 11.41 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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_DCSE_Start.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.657402633689344] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcse.la.i', 'loadInertia.phi', 'loadInertia.w'] 12.22482698969543 12.246755575 11.908821258 Calling exit ...