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_SinglePhase.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.001591/0.001591, allocations: 122.1 kB / 18.46 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.001634/0.001634, allocations: 211.3 kB / 21.41 MB, free: 1.633 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.468/1.468, allocations: 227.7 MB / 251.9 MB, free: 15.71 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_SinglePhase,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",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.002003/0.002003, allocations: 67.84 kB / 365.2 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1076, allocations: 50.55 MB / 415.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01109/0.1187, allocations: 8.237 MB / 424 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005774/0.1246, allocations: 2.754 MB / 426.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.1258, allocations: 23.94 kB / 426.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.1276, allocations: 0.5519 MB / 427.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.1294, allocations: 488.2 kB / 427.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007733/0.1302, allocations: 267.6 kB / 428.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.1324, allocations: 1.51 MB / 429.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009285/0.1333, allocations: 0.5808 MB / 430.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.1344, allocations: 0.5681 MB / 430.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008692/0.1353, allocations: 0.6183 MB / 431.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002361/0.1355, allocations: 140 kB / 431.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004478/0.136, allocations: 180 kB / 431.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.1362, allocations: 282.9 kB / 431.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008031/0.137, allocations: 0.6804 MB / 432.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.1394, allocations: 1.763 MB / 434.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.596e-05/0.1395, allocations: 0 / 434.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1395, allocations: 3.938 kB / 434.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.063e-05/0.1396, allocations: 0 / 434.4 MB, free: 10.88 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003112/0.1427, allocations: 1.51 MB / 435.9 MB, free: 9.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.1427, allocations: 12.03 kB / 435.9 MB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001926/0.1429, allocations: 152.3 kB / 436.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008096/0.1438, allocations: 208 kB / 436.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.1453, allocations: 0.7702 MB / 437 MB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.727e-05/0.1454, allocations: 70 kB / 437.1 MB, free: 8.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.1456, allocations: 104 kB / 437.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.1473, allocations: 0.9424 MB / 438.2 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.1473, allocations: 8 kB / 438.2 MB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-05/0.1474, allocations: 36 kB / 438.2 MB, free: 6.945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.1475, allocations: 24 kB / 438.2 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.1488, allocations: 0.652 MB / 438.9 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006138/0.1549, allocations: 3.931 MB / 442.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.1558, allocations: 451.6 kB / 443.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006496/0.1565, allocations: 280.7 kB / 443.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.734e-05/0.1565, allocations: 4 kB / 443.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.1566, allocations: 34.56 kB / 443.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 3.086e-06/0.1566, allocations: 0 / 443.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.2008/0.3573, allocations: 1.557 MB / 445.1 MB, free: 29.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.3574, allocations: 85.73 kB / 445.2 MB, free: 29.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.3589, allocations: 0.845 MB / 446 MB, free: 29.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.3589, allocations: 30.2 kB / 446.1 MB, free: 29.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.3593, allocations: 0.5839 MB / 446.7 MB, free: 28.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.3594, allocations: 165 kB / 446.8 MB, free: 28.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.3595, allocations: 138.7 kB / 447 MB, free: 28.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.3596, allocations: 334.2 kB / 447.3 MB, free: 28.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/0.36, allocations: 173.4 kB / 447.4 MB, free: 28.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.3604, allocations: 476.2 kB / 447.9 MB, free: 28.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007748/0.3612, allocations: 0.6729 MB / 448.6 MB, free: 27.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3612, allocations: 2.844 kB / 448.6 MB, free: 27.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001341/0.3625, allocations: 0.7976 MB / 449.4 MB, free: 27.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.3626, allocations: 11.19 kB / 449.4 MB, free: 27.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.3626, allocations: 11.47 kB / 449.4 MB, free: 27.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002903/0.3629, allocations: 83.45 kB / 449.5 MB, free: 27.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.3634, allocations: 158.5 kB / 449.6 MB, free: 27.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.3652, allocations: 3.137 MB / 452.8 MB, free: 24.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006922/0.3659, allocations: 39.11 kB / 452.8 MB, free: 24.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.366, allocations: 36.62 kB / 452.9 MB, free: 24.88 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 (85): * 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: 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.0003732/0.3664, allocations: 264.5 kB / 453.1 MB, free: 24.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.3665, allocations: 96.5 kB / 453.2 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00096/0.3675, allocations: 0.4986 MB / 453.7 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.3675, allocations: 6.078 kB / 453.7 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3675, allocations: 5.781 kB / 453.7 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.3675, allocations: 1.969 kB / 453.7 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.3699, allocations: 1.472 MB / 455.2 MB, free: 24.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.3699, allocations: 2.594 kB / 455.2 MB, free: 24.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.3703, allocations: 78.95 kB / 455.3 MB, free: 24.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002204/0.3705, allocations: 71.48 kB / 455.3 MB, free: 24.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.3705, allocations: 9.875 kB / 455.4 MB, free: 24.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.3723, allocations: 3.132 MB / 458.5 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3723, allocations: 4.312 kB / 458.5 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.3738, allocations: 0.8097 MB / 459.3 MB, free: 21.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003772/0.3742, allocations: 205.5 kB / 459.5 MB, free: 20.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.3743, allocations: 16.77 kB / 459.5 MB, free: 20.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/0.3748, allocations: 26.67 kB / 459.5 MB, free: 20.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3749, allocations: 39 kB / 459.6 MB, free: 20.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.3749, allocations: 18.08 kB / 459.6 MB, free: 20.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009657/0.3759, allocations: 0.5726 MB / 460.2 MB, free: 20.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3759, allocations: 1.594 kB / 460.2 MB, free: 20.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001018/0.3769, allocations: 204.3 kB / 460.4 MB, free: 20.78 MB / 366.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 (39): * Single equations (assignments): 37 * 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.001763/0.3787, allocations: 1.378 MB / 461.7 MB, free: 19.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.3801, allocations: 0.704 MB / 462.4 MB, free: 19.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3801, allocations: 1.062 kB / 462.5 MB, free: 19.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006918/0.3808, allocations: 457.2 kB / 462.9 MB, free: 19.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.3823, allocations: 233.8 kB / 463.1 MB, free: 19.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/0.3964, allocations: 7.491 MB / 470.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/0.3972, allocations: 1.009 MB / 471.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005974/0.3978, allocations: 108.5 kB / 471.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/0.3984, allocations: 392.4 kB / 472.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3984, allocations: 1.125 kB / 472.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06171/0.4601, allocations: 19.48 MB / 491.6 MB, free: 3.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.97, allocations: 12.95 kB / 491.6 MB, free: 3.426 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_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_SinglePhase.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.495841237949207] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcse.la.i', 'loadInertia.phi', 'loadInertia.w'] 12.066608463064767 12.080220162 11.937873728 Calling exit ...