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.001678/0.001678, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002209/0.002209, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.001912/0.001912, allocations: 64.77 kB / 378.6 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2519, allocations: 53.37 MB / 431.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01023/0.2621, allocations: 8.046 MB / 440 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005372/0.2675, allocations: 2.676 MB / 442.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.2686, allocations: 23.94 kB / 442.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.2702, allocations: 0.524 MB / 443.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.2714, allocations: 432.8 kB / 443.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.2719, allocations: 223.6 kB / 443.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.2734, allocations: 1.237 MB / 445.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.274, allocations: 370.5 kB / 445.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007289/0.2748, allocations: 0.498 MB / 445.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007131/0.2755, allocations: 0.5134 MB / 446.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.2756, allocations: 116 kB / 446.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.276, allocations: 159.9 kB / 446.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.2761, allocations: 231.2 kB / 446.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005549/0.2767, allocations: 0.5676 MB / 447.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.2785, allocations: 1.472 MB / 449 MB, free: 5.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2785, allocations: 0 / 449 MB, free: 5.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2785, allocations: 0 / 449 MB, free: 5.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.2785, allocations: 0 / 449 MB, free: 5.773 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.002337/0.2808, allocations: 1.262 MB / 450.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2809, allocations: 15.97 kB / 450.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001641/0.281, allocations: 131.5 kB / 450.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006912/0.2817, allocations: 176.2 kB / 450.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.2828, allocations: 0.5804 MB / 451.1 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.2829, allocations: 66.12 kB / 451.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.283, allocations: 87.98 kB / 451.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.2845, allocations: 0.8223 MB / 452.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.2845, allocations: 3.953 kB / 452.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.165e-05/0.2846, allocations: 39.98 kB / 452.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.2846, allocations: 24 kB / 452.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.2857, allocations: 0.5387 MB / 452.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004647/0.2904, allocations: 3.445 MB / 456.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.2909, allocations: 241.6 kB / 456.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.2912, allocations: 108.8 kB / 456.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.2912, allocations: 0 / 456.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.2913, allocations: 38.55 kB / 456.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.343e-06/0.2913, allocations: 0 / 456.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002237/0.2935, allocations: 0.9389 MB / 457.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.2936, allocations: 81.05 kB / 457.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.2947, allocations: 0.7741 MB / 458.3 MB, free: 12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.2947, allocations: 33.64 kB / 458.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.2951, allocations: 0.5228 MB / 458.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.2952, allocations: 115.1 kB / 459 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.2954, allocations: 118.2 kB / 459.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002615/0.2957, allocations: 382.8 kB / 459.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.296, allocations: 125.2 kB / 459.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/0.2965, allocations: 454.2 kB / 460.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008792/0.2974, allocations: 0.6215 MB / 460.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.2974, allocations: 4 kB / 460.7 MB, free: 9.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001206/0.2986, allocations: 0.6468 MB / 461.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.2986, allocations: 20.12 kB / 461.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.2986, allocations: 8 kB / 461.4 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/0.2988, allocations: 40.78 kB / 461.4 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.2993, allocations: 151.7 kB / 461.5 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.3005, allocations: 1.283 MB / 462.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/0.3011, allocations: 44.06 kB / 462.9 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-05/0.3011, allocations: 39.94 kB / 462.9 MB, free: 6.98 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.0003775/0.3015, allocations: 241.5 kB / 463.1 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.3016, allocations: 79.48 kB / 463.2 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007236/0.3023, allocations: 326 kB / 463.5 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3023, allocations: 8 kB / 463.5 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3024, allocations: 3.938 kB / 463.6 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3024, allocations: 8.016 kB / 463.6 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.3042, allocations: 1.078 MB / 464.6 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3042, allocations: 4 kB / 464.6 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.3045, allocations: 67.89 kB / 464.7 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.654e-05/0.3046, allocations: 16.86 kB / 464.7 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.3046, allocations: 11.98 kB / 464.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.3057, allocations: 1.275 MB / 466 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3057, allocations: 4.031 kB / 466 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3068, allocations: 0.574 MB / 466.6 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.307, allocations: 103.5 kB / 466.7 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.3071, allocations: 8 kB / 466.7 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.3074, allocations: 27.97 kB / 466.7 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.3075, allocations: 23.91 kB / 466.7 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.3075, allocations: 15.98 kB / 466.8 MB, free: 2.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007397/0.3083, allocations: 0.5224 MB / 467.3 MB, free: 2.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3083, allocations: 0 / 467.3 MB, free: 2.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007005/0.309, allocations: 171.9 kB / 467.5 MB, free: 2.18 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.001487/0.3105, allocations: 1.146 MB / 468.6 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009909/0.3115, allocations: 464.5 kB / 469.1 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3115, allocations: 0 / 469.1 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.3118, allocations: 238.4 kB / 469.3 MB, free: 280 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009162/0.3128, allocations: 201.2 kB / 469.5 MB, free: 88 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009669/0.3224, allocations: 6.533 MB / 476 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.3231, allocations: 0.9526 MB / 477 MB, free: 8.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000364/0.3235, allocations: 94.16 kB / 477.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/0.3239, allocations: 315.3 kB / 477.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3239, allocations: 0 / 477.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05214/0.376, allocations: 16.57 MB / 493.9 MB, free: 7.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.62, allocations: 4 kB / 493.9 MB, free: 7.387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.015195761807263] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcpm.la.i', 'loadInertia.phi', 'loadInertia.w'] 11.715240702964365 11.730482119 11.448584153 Calling exit ...