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.DCPM_Temperature.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.001404/0.001404, 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.001497/0.001497, 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.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.DCPM_Temperature,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",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.001927/0.001927, allocations: 64.53 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2858, allocations: 53.37 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01026/0.2961, allocations: 8.057 MB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005769/0.3019, allocations: 2.672 MB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009795/0.3028, allocations: 23.94 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.3044, allocations: 0.5177 MB / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.3056, allocations: 440.7 kB / 443.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.3062, allocations: 219.6 kB / 443.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.3077, allocations: 1.237 MB / 445.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006293/0.3084, allocations: 370.5 kB / 445.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007773/0.3092, allocations: 0.4942 MB / 445.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007763/0.3099, allocations: 0.5172 MB / 446.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.3101, allocations: 112 kB / 446.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.3104, allocations: 164 kB / 446.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.3106, allocations: 231.2 kB / 446.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005904/0.3112, allocations: 0.5638 MB / 447.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.3131, allocations: 1.474 MB / 449 MB, free: 5.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3131, allocations: 0 / 449 MB, free: 5.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3131, allocations: 4 kB / 449 MB, free: 5.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.3131, allocations: 0 / 449 MB, free: 5.711 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002518/0.3156, allocations: 1.26 MB / 450.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.3157, allocations: 11.97 kB / 450.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/0.3159, allocations: 139.4 kB / 450.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007391/0.3166, allocations: 180.2 kB / 450.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.3178, allocations: 0.5803 MB / 451.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/0.3179, allocations: 66.12 kB / 451.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.318, allocations: 88 kB / 451.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.3195, allocations: 0.8145 MB / 452.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.3195, allocations: 3.953 kB / 452.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.392e-05/0.3196, allocations: 43.98 kB / 452.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.3196, allocations: 24 kB / 452.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.3207, allocations: 0.5387 MB / 452.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004856/0.3256, allocations: 3.445 MB / 456.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006396/0.3262, allocations: 230.6 kB / 456.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.3265, allocations: 108.8 kB / 456.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.3265, allocations: 11.94 kB / 456.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.3265, allocations: 30.56 kB / 456.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.294e-06/0.3266, allocations: 0 / 456.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002189/0.3287, allocations: 0.939 MB / 457.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.3288, allocations: 89.05 kB / 457.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.33, allocations: 0.7624 MB / 458.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.33, allocations: 29.7 kB / 458.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.3305, allocations: 0.5267 MB / 458.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3306, allocations: 111.1 kB / 459 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.3307, allocations: 122.2 kB / 459.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002843/0.331, allocations: 374.8 kB / 459.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.3313, allocations: 137.2 kB / 459.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.3319, allocations: 450.2 kB / 460.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008976/0.3328, allocations: 0.6177 MB / 460.7 MB, free: 9.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.3328, allocations: 4 kB / 460.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001205/0.334, allocations: 0.6469 MB / 461.3 MB, free: 8.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.334, allocations: 23.98 kB / 461.3 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.334, allocations: 8 kB / 461.4 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/0.3342, allocations: 36.8 kB / 461.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.3347, allocations: 151.7 kB / 461.5 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.3359, allocations: 1.287 MB / 462.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.3364, allocations: 40.06 kB / 462.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.3365, allocations: 35.94 kB / 462.9 MB, free: 6.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0003554/0.3368, allocations: 249.5 kB / 463.1 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.337, allocations: 79.48 kB / 463.2 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/0.3377, allocations: 330 kB / 463.5 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3377, allocations: 0 / 463.5 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3377, allocations: 7.922 kB / 463.6 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.3377, allocations: 7.938 kB / 463.6 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.3395, allocations: 1.081 MB / 464.6 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3395, allocations: 0 / 464.6 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.3398, allocations: 67.89 kB / 464.7 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.133e-05/0.3399, allocations: 24.84 kB / 464.7 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.3399, allocations: 8.219 kB / 464.7 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.3409, allocations: 1.271 MB / 466 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.341, allocations: 3.984 kB / 466 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009784/0.3419, allocations: 0.5857 MB / 466.6 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.3421, allocations: 103.5 kB / 466.7 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/0.3422, allocations: 8 kB / 466.7 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.3426, allocations: 23.98 kB / 466.7 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.3426, allocations: 27.89 kB / 466.8 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.3426, allocations: 12 kB / 466.8 MB, free: 2.797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007443/0.3434, allocations: 0.5185 MB / 467.3 MB, free: 2.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3434, allocations: 0 / 467.3 MB, free: 2.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006837/0.3441, allocations: 171.9 kB / 467.5 MB, free: 2.117 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (28): * Single equations (assignments): 27 * 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.001394/0.3455, allocations: 1.134 MB / 468.6 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009483/0.3464, allocations: 472.3 kB / 469.1 MB, free: 472 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3464, allocations: 0 / 469.1 MB, free: 472 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.3468, allocations: 234.5 kB / 469.3 MB, free: 224 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009046/0.3477, allocations: 193.9 kB / 469.5 MB, free: 40 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009694/0.3574, allocations: 6.544 MB / 476 MB, free: 9.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/0.3581, allocations: 0.9526 MB / 477 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.3585, allocations: 94.17 kB / 477.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.3589, allocations: 315.3 kB / 477.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3589, allocations: 0 / 477.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05769/0.4166, allocations: 16.57 MB / 493.9 MB, free: 7.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.86, allocations: 4.062 kB / 493.9 MB, free: 7.324 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv --start-time 0 --stop-time 3 --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_DCPM_Temperature.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.419168867636472] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcpm.la.i', 'loadInertia.phi', 'loadInertia.w'] 11.956835980061442 11.983866005 11.665571516 Calling exit ...